June 28, 2004
Adding hot-plug disk drives (use format, Solaris Disk Suite and newfs)
I think I've written a few times about using SDS for software raid and disk concats. During last week's move of MySQL to a new server I threw in another 2 disks for our nightly MySQL backup. We do a hotcopy of the tables onto a separate set of disks from the actual data dir.
The disks are in an external multipack, which allows hot-swapping of disks. The disks were stuck in right before I left, no machine reboot is necessary, but if the disks don't show up in format then this command will do a refresh of the /dev aliases and make the disks show up:
devfsadm -c disk
After partitioning and labelling the disks the concat is easily created:
metainit d60 4 1 c1t1d0s0 1 c1t2d0s0 1 c1t4d0s0 1 c1t5d0s
With 4x36G disks we're now up to 140G of disk space for backups (we keep a few day's worth).
Posted by mike at June 28, 2004 1:06 AM