Backup root disks | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Backup root disks

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-11-2013
fretagi fretagi is offline
Registered User
 
Join Date: Oct 2011
Last Activity: 18 December 2014, 7:22 AM EST
Posts: 231
Thanks: 51
Thanked 1 Time in 1 Post
Backup root disks

Hi all!

Please I would appreciate some inputs on the following:

I have inherited a SUN BLADE chassis with 6 T6320 server modules, in which there is only 1 root disk in all of them. I need to do a backup of the root disk in case those disk crash. But there is no backup device attached to it. So please can I have some ideas how to solve this problem.
Sponsored Links
    #2  
Old 07-11-2013
hicksd8 hicksd8 is offline Forum Advisor  
Registered User
 
Join Date: Feb 2012
Last Activity: 18 December 2014, 4:59 PM EST
Location: Cornwall, UK
Posts: 866
Thanks: 53
Thanked 169 Times in 148 Posts
If you have no backup devices directly attached the next best is probably to backup to another Solaris box over NFS. So do you have another Solaris box?

Alternatively, you could backup to a USB device.

What is the root filesystem? UFS or ZFS?

For completeness, what version of Solaris?
Sponsored Links
    #3  
Old 07-11-2013
fretagi fretagi is offline
Registered User
 
Join Date: Oct 2011
Last Activity: 18 December 2014, 7:22 AM EST
Posts: 231
Thanks: 51
Thanked 1 Time in 1 Post
Backup root disks

I am using
Code:
UFS

file system type and solaris 10. Yes I do have another solaris server.
    #4  
Old 07-11-2013
hicksd8 hicksd8 is offline Forum Advisor  
Registered User
 
Join Date: Feb 2012
Last Activity: 18 December 2014, 4:59 PM EST
Location: Cornwall, UK
Posts: 866
Thanks: 53
Thanked 169 Times in 148 Posts
Right then. Create a NFS share from the other box and mount it on this one.

Then use


Code:
 
fssnap

command to snapshot the root filesysytem, and then


Code:
 
ufsdump

command giving the remote NFS as the target for the dump. Job done.

Remember to delete the snapshot afterwards.
(You could script all this stuff.)

If you need to restore after a crash, boot from cd into single user, manually plumb, set ip address and mask, and 'up' the network interface, mount the remote NFS, 'newfs' your local root filesysytem, and ufsrestore the whole thing.

Obviously I don't know your experience level and the above may be too brief. Any questions just ask.

EXTRA NOTE: When you execute 'fssnap' this will output a special device name for the snapshot. This is the device you put in the ufsdump command line (NOT /dev/dsk/c0t0d0s0 or /). This special device reads the frozen snapshot of the filesysytem.

Last edited by hicksd8; 07-11-2013 at 06:26 AM..
Sponsored Links
    #5  
Old 07-11-2013
fretagi fretagi is offline
Registered User
 
Join Date: Oct 2011
Last Activity: 18 December 2014, 7:22 AM EST
Posts: 231
Thanks: 51
Thanked 1 Time in 1 Post
Backup root disks

Yes , I am a newbie, but correct me if I am wrong:

on the other remote server:
create a file system (NFS)

on current server (the one with only 1 root disk):
mount the NFS file system

still on current server:
use
Code:
fssnap

as per http://http://www.c0t0d0s0.org/archi...es-fssnap.html

after that is completed use
Code:
ufsdump

to the remote server.

So that will be it.
What now if I need to restore??
Sponsored Links
    #6  
Old 07-11-2013
hicksd8 hicksd8 is offline Forum Advisor  
Registered User
 
Join Date: Feb 2012
Last Activity: 18 December 2014, 4:59 PM EST
Location: Cornwall, UK
Posts: 866
Thanks: 53
Thanked 169 Times in 148 Posts
Not quite. On the remote server you don't need a new filesystem only to create a directory which (to use Windows terminology) you will 'share'.

Otherwise, yes, you've got it right.

Make sure to read the 'extra note' that I edited onto my previous post.

Restore is as I described.
Sponsored Links
    #7  
Old 07-11-2013
fretagi fretagi is offline
Registered User
 
Join Date: Oct 2011
Last Activity: 18 December 2014, 7:22 AM EST
Posts: 231
Thanks: 51
Thanked 1 Time in 1 Post
Backup root disks

Ok, I will try and come back to you.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Get # of disks as non-root PPPP Solaris 10 08-10-2011 05:44 PM
Mirorr Solaris 10 5/09 root disks at install time h@foorsa.biz Solaris 3 12-10-2010 10:52 AM
Disk mismatch while trying to zfs mirroring non-root disks pingmeback Solaris 8 03-18-2010 08:52 PM
Non-Root mode ... luxadm to show path(s) for Disks verisund Solaris 1 08-18-2009 06:39 PM
Backup for HW Mirrored Disks StarSol Solaris 8 03-12-2009 06:42 PM



All times are GMT -4. The time now is 06:03 AM.