Hi, Chris Hoogendyk provided me with a short howto that covers the missing gap I didn't know about: ufsdump and ufsrestore. Very cool. I figured there had to be something missing in my knowledge of how Solaris meets this need. > # format > partition target drive (hereinafter referred to as cxtxdx) > > # newfs /dev/rdsk/cxtxdxs0 <-- set up file system > # mount /dev/dsk/cxtxdxs0 /mnt <-- mount target partition > # ufsdump 0f - /dev/rdsk/c0t0d0s0 | (cd /mnt && ufsrestore rf - ) > # umount /mnt > > repeat for each slice > > # installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk > /dev/rdsk/cxtxdxs0 > > ready to go > > --------------------- > > If you must do it live, and are paranoid about files not getting dumped > properly while the system is live, and you are on Solaris 9, you can try > using fssnap to do a snapshot and then ufsdump the snapshot. That gets a > little complicated though, fssnap has issues with read only file systems > and with realtime modules and code locking. The latter issue relates to > xntp in our case. So, I have to stop xntp and mount one partition read > write just for the backup. Anyway, that means I can do ufsdumps during > the day if necessary and it works. > > > > > --------------- > > Chris Hoogendyk > > - > O__ ---- Systems Administrator > c/ /'_ --- Biology & Geology Departments > (*) \(*) -- 140 Morrill Science Center > ~~~~~~~~~~ - University of Massachusetts, Amherst _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Thu Aug 17 10:14:28 2006
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:00 EST