[Ilugc] RAID ON TOP OF LVM : HELP NEEDED TO RECTIFY ERRORS
- From: knura@xxxxxxxxx (Arun Khan)
- Date: Wed Mar 5 09:48:00 2008
On Tuesday 04 Mar 2008, swapan karmakar wrote:
I HAVE CREATED A VG OF 2GB AND 2 LV'S OF 500MB EACH..
THEN I CREATED A RAID 1 ARRAY (/dev/md0) FROM THE 2 LV'S (RADI ARRAY
SIZE IS NOW 1GB)
Are you sure that you created a RAID 1 and not a RAID 0? 1GB (500+500)
suggests RAID0.
IMO, you have got this inside out.
A RAID device is equivalent to a hard disk. For Linux software RAID
they appear as /dev/md0 etc.
To do RAID you need 2 or more hard disks. Although, one can create RAID
volumes on the same hard disk using 2 physical part., it is only an
academic exercise.
One can create filesystems or logical volumes on the RAID devices as
shown below.
Hard disk (2 or more) -> HD partitions -> SW RAID volumes -> File
systems or Logical Volumes.
BTW, avoid putting / on a Logical Volume
then i extended the size of the 2 LV's to 600MB..
now i want to REFRESH THE RAID ARRAY ....HOW CAN I DO IT SO THAT I
GET THE INCREASED ARRAY SIZE OF /DEV/MD0 ARRAY..???????
Does not make sense.
also , when i do
# fdisk -l , the output says
no valid partition table found on /dev/md0
Not surprising, see above.
From: skrhce2005@xxxxxxxxxxx
To: ilugc@xxxxxxxxxxxxx
Subject: RE: [Ilugc] March Month ILUGC Meet
Pls. trim your quotes the rest of your post was a repeat of your post
and avoid using all caps.
HTH,
-- Arun Khan
Other related posts: