I was starting to run out of storage on the home file server (Solaris 10 x86 with Dual Pentium III’s and 2 120 gig mirrored drives for storage.) I happen to be looking through the Sunday weekly ad’s and saw that a local vendor was selling Seagate 400GB PATA drives for $159.99. So 2 drives and a PATA Card later, I now have 479 Gig of mirrored storage now. (The 400 Gb is actually 372, when are vendors going to start putting the actual size on the box?).. Anyways, It was extremely easy to add the space:
What the filesystem looked like before the change:
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d30 112G 100G 11G 91% /home
Output of metastat:
d30: Mirror
Submirror 0: d10
State: Okay
Submirror 1: d20
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 239077440 blocks (114 GB)
d10: Submirror of d30
State: Okay
Size: 239077440 blocks (114 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1d0s0 0 No Okay Yes
d20: Submirror of d30
State: Okay
Size: 239077440 blocks (114 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1d1s0 0 No Okay Yes
next attach the new drives to the existing devices:
metattach d10 c3d0s0
d10: component is attached
metattach d20 c3d1s0
d20: component is attached
Now comes something that I am not use to.. Usually when I am doing this command I am on a large Sparc server with fibre channel drives or luns presented from the SAN so it usually doesn’t take that long. But on my little machine this command took almost 2 hours to complete:
growfs -M /home /dev/md/rdsk/d30
A trip to McDonalds and back, and watching some Simpsons, War at Home, and Family Guy and it is complete:
# df -h /home
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d30 479G 100G 378G 21% /home
I still have one port available on it, so later down the road once the 750GB drives get out, I may add a couple of them as well. Now I should have plenty of room for files and video storage from the ReplayTV units. Next time I will do it, I will be reloading the OS and putting the filesystem under ZFS control as well.
Interesting, Solaris, ZFS
Interesting, Solaris, ZFS