8.2TB RAID on 3ware controller works:-)

don fisher hdf3 at comcast.net
Mon Mar 23 19:37:39 UTC 2009

I have posted questions regarding large file systems. I was able to 
reboot and maintain my 8.2TB file system. Commands follow.

My major problem was not setting label type to GPT in parted. Been away 
for a couple of years:-(

 > sudo parted /dev/sda
rm 1
mklabel gpt
(parted) mkpart p 0 9TB
(parted) print free
Model: 3ware Logical Disk 00 (scsi)
Disk /dev/sda: 9000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name  Flags
  1      17.4kB  9000GB  9000GB               p

 > sudo mkfs.xfs -b size=4k -d su=64k,sw=6 -i size=2k -l version=2 -f -s 
size=4k -L raid8 /dev/sda1

meta-data=/dev/sda1              isize=2048   agcount=9, 
agsize=268435440 blks
          =                       sectsz=4096  attr=2
data     =                       bsize=4096   blocks=2197249527, imaxpct=5
          =                       sunit=16     swidth=96 blks
naming   =version 2              bsize=4096
log      =internal log           bsize=4096   blocks=32768, version=2
          =                       sectsz=4096  sunit=1 blks, lazy-count=0
realtime =none                   extsz=4096   blocks=0, rtextents=0

sudo mount /dev/sda1 /usr2

 > df
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdb1             880G  124G  712G  15% /
tmpfs                  16G     0   16G   0% /lib/init/rw
varrun                 16G  128K   16G   1% /var/run
varlock                16G     0   16G   0% /var/lock
udev                   16G  2.8M   16G   1% /dev
tmpfs                  16G     0   16G   0% /dev/shm
/dev/sda1             8.2T  4.6M  8.2T   1% /usr2

After boot:-)
 > df
/dev/sda1             8.2T  4.6M  8.2T   1% /usr2

I hope this can be of use to someone.


More information about the Ubuntu-devel-discuss mailing list