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

Hardware Raid Expansion and LVM



All,

I am looking for a little help on finding out the best way to do this. I had a 4 disk 1.4TB RAID 5 array, and extended that to an 8 disk 3.18TB array, on a 64 bit system.The Raid card handled the migration of the disks well, and everything on that side is up and running as it should. Problem is I don't know how to extend LVM to a larger size, without doing the whole adding of physical drives, and so forth, and the pv display doesn't show more than the 1.4TB that I started with. Most documentation details software RAID procedures that don't really work with this. I figure I am doing something(lots of things) wrong.

Commands I have used:

Thu Oct 09-13:10:36-root haruhi:~> pvs -o +dev_size
 PV         VG         Fmt  Attr PSize PFree   DevSize
 /dev/sda2  VolGroup00 lvm2 a-   9.78G  64.00M   9.81G
 /dev/sdb1  VolGroup00 lvm2 a-   1.35T 576.00M   1.35T

This error is after I resized the pv back to its original size:
Thu Oct 09-13:11:32-root haruhi:~> lvresize -d -L 3.18T /dev/VolGroup00/LogVol00
 Rounding up size to full physical extent 3.18 TB
 Extending logical volume LogVol00 to 3.18 TB
 Insufficient free space: 59572 extents needed, but only 20 available

Before that I was seeing:
device-mapper: reload ioctl failed: Invalid argument
Failed to suspend lv1


Kernel output


Oct 9 12:43:02 haruhi kernel: device-mapper: ioctl: error adding target to table Oct 9 12:43:08 haruhi kernel: device-mapper: table: device 8:17 too small for target Oct 9 12:43:08 haruhi kernel: device-mapper: table: 253:0: linear: dm-linear: Device lookup failed Oct 9 12:43:08 haruhi kernel: device-mapper: ioctl: error adding target to table




Hardware:
0d:01.0 RAID bus controller: 3ware Inc 9550SX SATA-RAID
Oct 9 11:58:39 haruhi kernel: sd 0:0:0:0: [sda] 20971519 512-byte hardware sectors (10737 MB)
Oct  9 11:58:39 haruhi kernel: sd 0:0:0:0: [sda] Write Protect is off
Oct 9 11:58:39 haruhi kernel: sd 0:0:0:0: [sda] Write cache: enabled, read cache: disabled, doesn't support DPO or FUA Oct 9 11:58:39 haruhi kernel: sd 0:0:0:0: [sda] 20971519 512-byte hardware sectors (10737 MB)
Oct  9 11:58:39 haruhi kernel: sd 0:0:0:0: [sda] Write Protect is off
Oct 9 11:58:39 haruhi kernel: sd 0:0:0:0: [sda] Write cache: enabled, read cache: disabled, doesn't support DPO or FUA
Oct  9 11:58:39 haruhi kernel: sda: sda1 sda2
Oct  9 11:58:39 haruhi kernel: sd 0:0:0:0: [sda] Attached SCSI disk
Oct 9 11:58:39 haruhi kernel: sd 0:0:0:1: [sdb] Very big device. Trying to use READ CAPACITY(16). Oct 9 11:58:39 haruhi kernel: sd 0:0:0:1: [sdb] 6814820353 512-byte hardware sectors (3489188 MB)
Oct  9 11:58:39 haruhi kernel: sd 0:0:0:1: [sdb] Write Protect is off
Oct 9 11:58:39 haruhi kernel: sd 0:0:0:1: [sdb] Write cache: enabled, read cache: disabled, doesn't support DPO or FUA Oct 9 11:58:39 haruhi kernel: sd 0:0:0:1: [sdb] Very big device. Trying to use READ CAPACITY(16). Oct 9 11:58:39 haruhi kernel: sd 0:0:0:1: [sdb] 6814820353 512-byte hardware sectors (3489188 MB)
Oct  9 11:58:39 haruhi kernel: sd 0:0:0:1: [sdb] Write Protect is off
Oct 9 11:58:39 haruhi kernel: sd 0:0:0:1: [sdb] Write cache: enabled, read cache: disabled, doesn't support DPO or FUA

processor       : 7
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Xeon(R) CPU           E5430  @ 2.66GHz


Memory installed 4GB



O/S Fedora 9 x86_64




Thanks in advance,
Seann


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