...
The internal OS disks are the RAID1. The NFS disks are the RAID 6.
Configuring the RAID Filesystem
From Karl A.:
Code Block |
---|
# --------------------------------------------------------------------------
# HP Smart External Array P812
# 12 600 GB, bays 1-11 RAID 6, bay 12 is hot spare
# RAID configured in BIOS setup utility (F8 at the right time). -ksa Oct 2010
# --------------------------------------------------------------------------
# LVM/ext3 filesystem. -ksa Oct 2010
#
# parted /dev/cciss/c2d0
# mkpart primary ext2
# Start? 1
# End? 100%
# set 1 lvm on
# pvcreate /dev/cciss/c2d0p1
# vgcreate VG1 /dev/cciss/c2d0p1
# lvcreate -n LV1.u1 -L 4.5T VG1
# mke2fs -v -j -m1 /dev/VG1/LV1.u1
# lvextend /dev/VG1/LV1.u1 /dev/cciss/c2d0p1
# e2fsck -f /dev/VG1/LV1.u1
# resize2fs /dev/VG1/LV1.u1
|
For adding the second tray, Karl and I did:
Code Block |
---|
# 2nd Array
# parted /dev/cciss/c2d1
# mklabel
# gpt
# mkpart primary ext2
# Start? 1
# End? 100%
# set 1 lvm on
# quit
#
# pvcreate /dev/cciss/c2d1p1
# vgextend VG1 /dev/cciss/c2d1p1
# lvextend /dev/VG1/LV1.u1 /dev/cciss/c2d1p1
# Extending logical volume LV1.u1 to 16.92 TB
# Logical volume LV1.u1 successfully resized
#
#
# we then tried this command:
# resize2fs /dev/VG1/LV1.u1
# but 16.92TB was too big for resize2fs, we got the error:
# File too large while trying to determine filesystem size
# so then we reduced the size of the logical volume to just under 16TB
# with this command:
# lvreduce -L -1t /dev/VG1/LV1.u1
# after that, the resize2fs command worked:
#
# resize2fs /dev/VG1/LV1.u1
|
Restoring Files from Backup
...