LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 03-08-2011, 05:26 AM   #1
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Rep: Reputation: 47
dd a root drive


I need to make a backup image of root drive in Solaris 10 SPARC.
They say it can be done in single user mode, true?
I'd like to backup to file. Can Solaris mount as writable other filesystems like ext2/3 ?
If not, I'd like to format second hdd as ufs in x86 Linux. Would that work?
 
Old 03-08-2011, 06:00 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Try mounting a share via NFS then 'dd ... | gzip > /mnt/nfs/<backup>.dd.gz'
 
Old 03-08-2011, 06:43 AM   #3
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
hm, excellent idea, I like it. only wish I could use ftp instead.
btw, I'm not sure NFS is installed on SPARC, and we don't have original CDs.

Last edited by qrange; 03-08-2011 at 06:52 AM.
 
Old 03-08-2011, 11:29 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by qrange View Post
I need to make a backup image of root drive in Solaris 10 SPARC.
They say it can be done in single user mode, true?
That's more than risky. If you want to dd a boot disk, the better option is to mount it read-only, i.e. boot elsewhere.
 
Old 03-08-2011, 03:45 PM   #5
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Quote:
only wish I could use ftp instead
.. how about 'dd ... | gzip | nc ... ' then ? Just set up a netcat listener on a remote host and redirect stdout to a file. Is this for recovery purposes or forensic purposes ?
 
Old 03-09-2011, 01:36 AM   #6
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Original Poster
Rep: Reputation: 47
its for backup. we don't have raid and hard drive have been running 24/7 for more than 3 years now.
I guess the only option is to shutdown, physically remove hdd and connect it to Linux PC.

would SPARC somehow 'know' the drive has been removed?
unfortunately, at the moment there is no support from seller of the system, and they never gave us installation CDs. so, it is critical to keep the drive 'healthy'.
 
Old 03-09-2011, 04:16 AM   #7
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
I'd just try restoring the live copy to a test system and see if it will boot ... unless you don't have another server the same ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Only root can automount CD drive and USB thumb drive km4hr Red Hat 3 03-25-2009 12:30 PM
cannot delete drive from root desktop - cannot mount usb flash drive - openSuSE 10.2 bluecog6 Linux - General 6 01-29-2007 03:18 PM
Root Drive Nuked - Please Help mtaft Linux - General 3 05-13-2006 04:27 PM
Root, can I have my DVD drive please? Ian_Hawdon Linux - Hardware 6 03-26-2005 08:10 PM
Only root can see second hard drive... longhairhippy Linux - Newbie 5 04-22-2004 06:54 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 02:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration