LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-06-2007, 05:37 AM   #1
qrshat
Member
 
Registered: Oct 2005
Posts: 56

Rep: Reputation: 15
ufsdump for root partition


hi,

i executed two ufsdump commands as follows. As you can see, the difference of these commands is just a -(dash) character. I cloured the dash with red.

The first command taked the dump of the /dev/rfssnap/1 device and the second command taked the ufsdump of the /dev/rdsk/c1t0d0s0 device.

Could someone give me any idea what is excatly doing this dash character with ufsdump command. Which one is a correct dump way for /(root) partition.


httpdb# ufsdump 0ufN /oradata/sil2sil /dev/rdsk/c1t0d0s0 /dev/rfssnap/1
DUMP: Date of this level 0 dump: Thu 06 Dec 2007 01:09:32 PM EET
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rfssnap/1 to /oradata/sil2sil.
DUMP: Mapping (Pass I) [regular files]
DUMP: Mapping (Pass II) [directories]
DUMP: Writing 32 Kilobyte records
DUMP: Estimated 9050050 blocks (4418.97MB)
------------------------------------------

httpdb# ufsdump 0ufN /oradata/sil2sil2 - /dev/rdsk/c1t0d0s0 /dev/rfssnap/1
DUMP: Date of this level 0 dump: Thu 06 Dec 2007 01:10:55 PM EET
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rdsk/c1t0d0s0 (httpdb:/) to /oradata/sil2sil2.
DUMP: Mapping (Pass I) [regular files]
DUMP: Mapping (Pass II) [directories]
DUMP: Writing 32 Kilobyte records


Thanks in advace,
 
Old 12-06-2007, 05:55 AM   #2
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
The second syntax looks bogus to me.

You are using four options, 0ufN, two of which , f and N), require a parameter.

the f option got /oradata/sil2sil, this is the file to dump to instead of the default tape. Make sure you have enough space of the /oradata file system.
the N option is supposed to get the name of the device but "-" isn't exactly that.

As the second syntax has an extraneous parameter, the dump is done on the live file system instead of the snapshot, which may create an unusable backup.
 
  


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
ZFS and ufsdump custangro Solaris / OpenSolaris 1 11-16-2007 03:31 PM
ufsdump explained tekmann33 Linux - Newbie 1 10-30-2007 10:06 AM
ufsdump manoj.linux Solaris / OpenSolaris 2 09-15-2007 10:34 AM
ufsdump linuxtesting2 Solaris / OpenSolaris 7 06-16-2006 10:23 AM
The ufsdump command Gins Linux - General 3 08-22-2005 07:16 PM

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

All times are GMT -5. The time now is 03:59 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