problem in RAID1 + lvm in ubuntu 8.04...

Lalatendu Das lalatdas at gmail.com
Tue Dec 9 06:31:29 UTC 2008


Hello Brian,

First of all thanks for showing interest in looking into it.
>I don't understand why you did this.  A RAID1 array and two regular
>partitions as part of an LVM Volume?
My intention here is to use as much of the disk that I can use for data
storage along with full filling the RAID1 functionality. In fact at maximum
I need only 40GB data to be taken backup, hence I thought of using the rest
of the disk spaces to be used for stroing data. If I create RAID1 using the
full disk(73GB) then I am wasting around 30GB of the 3rd disk(73GB). Those
space currently could be used for data storage because of LVM.

>If I understand it correctly, you don't know where LVM will put it's
>data in the volume, so it might be on the RAID array and it might not
>be?  So why use RAID?   Or if you wanted RAID, why not RAID1 the two
>drives rather than just part of them?
Yes, I don't know where LVM will put my data. But I am under a assumption
that when logical volumes are created they will be created sequentially as
it createswhen I create partition using "cfdisk" on a physical volume. So I
can predict that the logical partition coving the first 40GB of volume group
will be taken back-up. I think for other two questions I have answered in
the above paragraph. Intially I have configured using full disk just out of
curosity I have tried this way. 
Can  u refer some online docs describing it little bit internally for RAID1
and LVM stuffs? I saw most of the docs are related to theory of RAID1 and
LVM.

>Can you post the output of fdisk -l and mount ?  Perhaps there's
>something there....
The fdisk -l command output is already mentioned in the previous post. I am
pasting it again along with out put of mount command.

##########################################################
# fdisk -l
##########################################################
Disk /dev/sda: 18.2 GB, 18210037760 bytes
255 heads, 63 sectors/track, 2213 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000c248e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          31      248976   83  Linux
/dev/sda2              32        2213    17526915    5  Extended
/dev/sda5              32        2213    17526883+  8e  Linux LVM

Disk /dev/sdb: 73.4 GB, 73407868928 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        5471    43945776   fd  Linux raid
autodetect
/dev/sdb2            5472        8924    27736222+  fd  Linux raid
autodetect

Disk /dev/sdc: 73.4 GB, 73407868928 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1        5471    43945776   fd  Linux raid
autodetect
/dev/sdc2            5472        8924    27736222+  fd  Linux raid
autodetect

Disk /dev/md0: 45.0 GB, 45000359936 bytes
2 heads, 4 sectors/track, 10986416 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md0 doesn't contain a valid partition table

###################################
# mount
####################################
/dev/mapper/nkalari-root on / type ext3 (rw,relatime,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw)
/dev/mapper/UnicornData-home on /ukp/home type ext3 (rw)
gvfs-fuse-daemon on /home/sysadmin/.gvfs type fuse.gvfs-fuse-daemon
(rw,nosuid,nodev,user=sysadmin)

Thanks
Lalatendu das
-- 
View this message in context: http://www.nabble.com/problem-in-RAID1-%2B-lvm-in-ubuntu-8.04...-tp20873574p20909501.html
Sent from the ubuntu-users mailing list archive at Nabble.com.





More information about the ubuntu-users mailing list