partition raid0 for 2nd VD

J. Epperson Dell at epperson.homelinux.net
Fri Sep 26 19:09:52 CDT 2008


Or if you want to stick with physical partitions, since you're not using
LVM up to now, you could install qtparted for an easy ride.  It's a
gui-based Partition Magic clone and should be pretty easy for you to
figure out.

I don't care for using LVM when I already have a controller aggregating
the disks into a single device.  More overhead, no functional gain,
complicates recovery a bit.  But it's a matter of choice.

On Fri, September 26, 2008 19:42, Paul M. Dyer wrote:
> It looks like your 1TB device is /dev/sdm.   You could use these steps to
> create an LVM filesystem of 100G, for example:
>
> 1)	pvcreate /dev/sdm                   (create physical volumes)
>
> 2)	vgcreate vg0 /dev/sdm               (create vg0 volume group)
>
> 3)	lvcreate -L 100G -n dg0 vg0         (create dg0 logical volume)
>
> 4)	mke2fs  -j  -L /data  /dev/vg0/dg0  (make the ext3 filesystem)
>
> 5)	mkdir /data
>
> 6)	mount /dev/vg0/dg0   /data
>
> Paul
>
> ----- Original Message -----
> From: "System Administrator" <admn.matrix at gmail.com>
> To: Linux-PowerEdge at dell.com
> Sent: Sunday, September 21, 2008 4:28:27 PM (GMT-0600) America/Chicago
> Subject: partition raid0 for 2nd VD
>
> Hello there,
>
> We had a RAID0 setup on PE2900 with PERC5/i card, 3 HDs under the
> first Virtual disk array. Recently, we purchased addtional 5 HDs to create
> the second virtual disk array. I am able to use Dell OMSA utility to
> create a new virtual disk and do fast initialization afterwards.
>
> My question is to partition the new raid0 and format the disks in order to
> mount it. The new virtual disk is slightly above 1TB, (250Gx5HDs), and we
> are using Debian/Ubunntu OS. I would much appreicate if anyone could help
> me on this issue. I search around for a while but unfortunately find no
> solution. I am really new to the Linux and server world.
>
> Please also find the part of dmesg output in the following. Thanks for
> your help in advance!
>
> Sep 21 15:16:34 odyssey kernel: [53311312.960000]   Vendor: ATA
> Model: WDC WD2500YS-01S  Rev: 6C06
> Sep 21 15:16:34 odyssey kernel: [53311312.960000]   Type:   Direct-Access
> ANSI SCSI revision: 05
> Sep 21 15:16:34 odyssey kernel: [53311312.960000] SCSI device sdh:
> 490234752 512-byte hdwr sectors (251000 MB)
> Sep 21 15:16:34 odyssey kernel: [53311312.960000] SCSI device sdh: drive
> cache: write back
> Sep 21 15:16:34 odyssey kernel: [53311312.960000] SCSI device sdh:
> 490234752 512-byte hdwr sectors (251000 MB)
> Sep 21 15:16:34 odyssey kernel: [53311312.960000] SCSI device sdh: drive
> cache: write back
> Sep 21 15:16:34 odyssey kernel: [53311312.960000]  sdh: unknown partition
> table
> Sep 21 15:16:34 odyssey kernel: [53311312.990000] sd 0:0:3:0: Attached
> scsi disk sdh
> Sep 21 15:16:34 odyssey kernel: [53311312.990000] sd 0:0:3:0: Attached
> scsi generic sg8 type 0
> Sep 21 15:16:34 odyssey kernel: [53311312.990000]   Vendor: ATA
> Model: WDC WD2500YS-01S  Rev: 6C06
> Sep 21 15:16:34 odyssey kernel: [53311312.990000]   Type:   Direct-Access
> ANSI SCSI revision: 05
> Sep 21 15:16:34 odyssey kernel: [53311312.990000] SCSI device sdi:
> 490234752 512-byte hdwr sectors (251000 MB)
> Sep 21 15:16:34 odyssey kernel: [53311312.990000] SCSI device sdi: drive
> cache: write back
> Sep 21 15:16:34 odyssey kernel: [53311312.990000] SCSI device sdi:
> 490234752 512-byte hdwr sectors (251000 MB)
> Sep 21 15:16:34 odyssey kernel: [53311312.990000] SCSI device sdi: drive
> cache: write back
> Sep 21 15:16:34 odyssey kernel: [53311312.990000]  sdi: unknown partition
> table
> Sep 21 15:16:34 odyssey kernel: [53311313.010000] sd 0:0:4:0: Attached
> scsi disk sdi
> Sep 21 15:16:34 odyssey kernel: [53311313.010000] sd 0:0:4:0: Attached
> scsi generic sg9 type 0
> Sep 21 15:16:34 odyssey kernel: [53311313.020000]   Vendor: ATA
> Model: WDC WD2500YS-01S  Rev: 6C06
> Sep 21 15:16:34 odyssey kernel: [53311313.020000]   Type:   Direct-Access
> ANSI SCSI revision: 05
> Sep 21 15:16:34 odyssey kernel: [53311313.020000] SCSI device sdj:
> 490234752 512-byte hdwr sectors (251000 MB)
> Sep 21 15:16:34 odyssey kernel: [53311313.020000] SCSI device sdj: drive
> cache: write back
> Sep 21 15:16:34 odyssey kernel: [53311313.020000] SCSI device sdj:
> 490234752 512-byte hdwr sectors (251000 MB)
> Sep 21 15:16:34 odyssey kernel: [53311313.020000] SCSI device sdj: drive
> cache: write back
> Sep 21 15:16:34 odyssey kernel: [53311313.020000]  sdj: unknown partition
> table
> Sep 21 15:16:34 odyssey kernel: [53311313.040000] sd 0:0:5:0: Attached
> scsi disk sdj
> Sep 21 15:16:34 odyssey kernel: [53311313.040000] sd 0:0:5:0: Attached
> scsi generic sg10 type 0
> Sep 21 15:16:34 odyssey kernel: [53311313.050000]   Vendor: ATA
> Model: WDC WD2500YS-01S  Rev: 6C06
> Sep 21 15:16:34 odyssey kernel: [53311313.050000]   Type:   Direct-Access
> ANSI SCSI revision: 05
> Sep 21 15:16:34 odyssey kernel: [53311313.050000] SCSI device sdk:
> 490234752 512-byte hdwr sectors (251000 MB)
> Sep 21 15:16:34 odyssey kernel: [53311313.050000] SCSI device sdk: drive
> cache: write back
> Sep 21 15:16:34 odyssey kernel: [53311313.050000] SCSI device sdk:
> 490234752 512-byte hdwr sectors (251000 MB)
> Sep 21 15:16:34 odyssey kernel: [53311313.050000] SCSI device sdk: drive
> cache: write back
> Sep 21 15:16:34 odyssey kernel: [53311313.050000]  sdk: unknown partition
> table
> Sep 21 15:16:34 odyssey kernel: [53311313.080000] sd 0:0:6:0: Attached
> scsi disk sdk
> Sep 21 15:16:34 odyssey kernel: [53311313.080000] sd 0:0:6:0: Attached
> scsi generic sg11 type 0
> Sep 21 15:16:34 odyssey kernel: [53311313.080000]   Vendor: ATA
> Model: WDC WD2500YS-01S  Rev: 6C06
> Sep 21 15:16:34 odyssey kernel: [53311313.080000]   Type:   Direct-Access
> ANSI SCSI revision: 05
> Sep 21 15:16:34 odyssey kernel: [53311313.080000] SCSI device sdl:
> 490234752 512-byte hdwr sectors (251000 MB)
> Sep 21 15:16:34 odyssey kernel: [53311313.080000] SCSI device sdl: drive
> cache: write back
> Sep 21 15:16:34 odyssey kernel: [53311313.080000] SCSI device sdl:
> 490234752 512-byte hdwr sectors (251000 MB)
> Sep 21 15:16:34 odyssey kernel: [53311313.080000] SCSI device sdl: drive
> cache: write back
> Sep 21 15:16:34 odyssey kernel: [53311313.080000]  sdl: unknown partition
> table
> Sep 21 15:16:34 odyssey kernel: [53311313.100000] sd 0:0:7:0: Attached
> scsi disk sdl
> Sep 21 15:16:34 odyssey kernel: [53311313.100000] sd 0:0:7:0: Attached
> scsi generic sg12 type 0
> Sep 21 15:16:34 odyssey kernel: [53311313.110000]   Vendor: DELL
> Model: PERC 5/i          Rev: 1.03
> Sep 21 15:16:34 odyssey kernel: [53311313.110000]   Type:   Direct-Access
> ANSI SCSI revision: 05
> Sep 21 15:16:34 odyssey kernel: [53311313.110000] SCSI device sdm:
> 2445803520 512-byte hdwr sectors (1252251 MB)
> Sep 21 15:16:34 odyssey kernel: [53311313.110000] SCSI device sdm: drive
> cache: write through
> Sep 21 15:16:34 odyssey kernel: [53311313.110000] SCSI device sdm:
> 2445803520 512-byte hdwr sectors (1252251 MB)
> Sep 21 15:16:34 odyssey kernel: [53311313.110000] SCSI device sdm: drive
> cache: write through
> Sep 21 15:16:34 odyssey kernel: [53311313.110000]  sdm: unknown partition
> table
> Sep 21 15:16:34 odyssey kernel: [53311313.110000] sd 0:2:1:0: Attached
> scsi disk sdm
> Sep 21 15:16:34 odyssey kernel: [53311313.110000] sd 0:2:1:0: Attached
> scsi generic sg13 type 0
>
> PS. the old raid 0 is under /dev/sdd, including the 3 HDs under /dev/sda,
> /dev/sdb, /dev/sdc, respectively. And we have 3 external HDs for backup.
>
> df outputs:
>
> Filesystem    Type    Size  Used Avail Use% Mounted on
> /dev/sdd1     ext3    680G  507G  139G  79% /
> varrun       tmpfs    8.0G   96K  8.0G   1% /var/run
> varlock      tmpfs    8.0G  4.0K  8.0G   1% /var/lock
> udev         tmpfs    8.0G  140K  8.0G   1% /dev
> devshm       tmpfs    8.0G     0  8.0G   0% /dev/shm
> /dev/sde1     ext3    459G  197G  239G  46% /media/usb500g
> /dev/sdf1     ext3    917G  489G  382G  57% /media/usb1t_a
> /dev/sdg1     ext3    917G  496G  376G  57% /media/usb1t_b
>
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq
>
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq
>
>




More information about the Linux-PowerEdge mailing list