[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] Setting up LVM with existing RAID 1 (Mirror)

Hi All,
I have SUSE 9.0 SP2 installed with two 70GB Hardware
RAID 1(Its a DEll Poweredge mirrored). We have an /opt
partition which is alomst full. We need to use LVM to
expand OPT. We have plenty of free space on the disk.
I think LVM2 is installed but not configured since we
have a lvm.conf file under /etc/lvm. I have not used
LVM before so I was wondring if you guys can help me
out with what needs to be done to expand /opt. My
first question is it possible to expand opt using LVM
with existing RAID 1. My second question is do we have
to break the mirror and what are the steps involved to
get it done? If you guys know of any document that I
can read and figure this out it would be great. 

dda006:/etc/lvm # lvscan
  No volume groups found

dda006:/etc/lvm # fdisk -l

Disk /dev/sda: 73.2 GB, 73274490880 bytes
255 heads, 63 sectors/track, 8908 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id
/dev/sda1   *           1         784     6297448+  83
/dev/sda2             785        8907    65247997+   f
 W95 Ext'd (LBA)
/dev/sda5             785        1176     3148708+  82
 Linux swap
/dev/sda6            1177        1960     6297448+  83
/dev/sda7            1961        2744     6297448+  83
/dev/sda8            2745        3528     6297448+  83
/dev/sda9            3529        3790     2104483+  83
/dev/sda10           3791        4052     2104483+  83
dda006:/etc/lvm # df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             6.1G  1.2G  4.9G  20% /
tmpfs                1013M   12K 1013M   1% /dev/shm
/dev/sda9             2.1G  1.4G  699M  66% /home
/dev/sda8             6.1G  5.6G  435M  93% /opt
/dev/sda10            2.1G  1.3G  778M  63% /tmp
/dev/sda6             6.1G  2.5G  3.6G  41% /usr
/dev/sda7             6.1G  149M  5.9G   3% /var
hco431brgdda006:/etc/lvm #

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]