LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   ufsdump for root partition (https://www.linuxquestions.org/questions/solaris-opensolaris-20/ufsdump-for-root-partition-604890/)

qrshat 12-06-2007 05:37 AM

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,

jlliagre 12-06-2007 05:55 AM

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.


All times are GMT -5. The time now is 10:13 PM.