Prev: Running Sparc 20 Vertically
Next: svccfg problem
From: tony_curtis32 on 13 Feb 2010 15:44 Loial <jldunn2000(a)googlemail.com> writes: > I have 2 disks in my Solaris 10 sparc box. If the disk with the root > file system on fails and is replaced, can I restore the root file > system from a ufs dump file that I have stored on the second disk? > Would I be able to access the files on the second disk without a root > filesystem? > > Would I be able to access those files on the second disk without a > root filesystem in place? you could also set up the 2 disks in a mirror hth t
From: David Kirkby on 13 Feb 2010 23:30
On Feb 13, 5:34 pm, Loial <jldunn2...(a)googlemail.com> wrote: > On Feb 13, 2:26 pm, solx <nos...(a)example.net> wrote: > > > > > On 13/02/2010 07:58, Loial wrote: > > > > I have 2 disks in my Solaris 10 sparc box. If the disk with the root > > > file system on fails and is replaced, can I restore the root file > > > system from a ufs dump file that I have stored on the second disk? > > > Would I be able to access the files on the second disk without a root > > > filesystem? > > > > Would I be able to access those files on the second disk without a > > > root filesystem in place? > > > Yes, you can ufs restore the boot disk from your second disk but you > > will need to > > > 1. boot from a Solaris DVD (select option 1 for install to get GUI > > desktop but do not proceed with install). > > 2. run format to fdisk/partition your boot disk > > 3. newfs the partitions on the new disk > > 4. mount your second disk > > 5. ufsrestore -if <second disk>/directory/ufsdump.file > > 6. use installboot to make the disk bootable > > OK, thanks for your quick replay at a weekend! . What command syntax > would I use to mount the second disk? after booting from cdrom, # mkdir /tmp/foobar # mount /dev/dsk/c1t3d0s0 /tmp/foobar (obviously the c1t3d0s0 would be replaced by whatever is the controller/scid id and slice of your second disk. That sort of information is worth storing on a bit of paper, or another computer so you know what). I'm assuming your SPARC box is a SCSI based on. If its IDE (Blade 100 and similar), the device file will be a bit different. Just run 'df' before you get problems, so you know what each slice does. Dave |