Help Adding hard drives to V240
I'm a "newbie" at upgrading existing sun servers. I have a V240 w/ two 36GB drives.
I have two additional drives that I want to install. What do I need to do this?
Also, I have some user directories that I would like to move off of those drives, and onto the new ones and then expand the root filesystem to populate the main HD.Can I do this without destroying the data on the root partition?
thanks!
[444 byte] By [
bp787] at [2007-11-25 23:01:10]

# 1
Since the 240 holds 4 hot swap drives, as long as you're adding only 2 drives to the unit, this should not be a problem. Additionally, the drives are hot swap, so this can be done live.
If the drives are supported on the v240:
1) insert the drives in the open slots
2) run devfsadm -Cv on the live kernel
3) check format
you should be good to go!!
First off, YOU CAN'T GROW ROOT!!!!
I put that in caps, because you can't do it on the fly. The only way to successfully grow root is to back it up, change the size, newfs the partition, restore the data, and put a new boot block on it. SunSolve has some good docs on it. Even if you use growfs(1M) you will run into problems with access and file locking as growfs locks the filesystem from all access, which is a problem for root(/).
Second, moving the directories is as simple as making a new partition, creating the filesystem, mounting it to a temporary mount point, and copying the directory structure to the new location. The switching the old device for the new one in the /etc/vfstab. init 6.
hope this helps.