Sponsored Content
Operating Systems Solaris Can ufsdump create files that have a .vtoc and .dmp extension? Post 302980522 by CurtArnold on Monday 29th of August 2016 04:50:35 PM
Old 08-29-2016
Debug Mode

Well thats cool. I found out the block size is 126.

Partition3.dmp tried to dump on a drive that doesn't exist on this system (c1t0d0s3).

Code:
# ls -l
total 18
lrwxrwxrwx   1 root     other         14 Jan  6 09:44 server -> /space/server
drwx------   2 root     root        8192 Jan  1 11:06 lost+found

Code:
# ufsrestore -idvf /a/usr/home/partition3.dmp
Verify volume and initialize maps
Media block size is 126
Volume header begins with record 1
Dump   date: Sun Nov 22 11:27:01 2015
Dumped from: the epoch
Level 0 dump of /home on ncciris:/dev/dsk/c1t0d0s3
Label: none
maxino = 4194305
Remove mask header
File continuation header, ino 2
Dump mask header
partial block read: 53247 should be 64512
abort? [yn] n
File continuation header, ino 2
Extract directories from tape
File header, ino 2 at record 21
Initialize symbol table.
got word `/usr/bin/more'

Code:
# ufsrestore -idvf /a/usr/home/partition0.dmp
Verify volume and initialize maps
Media block size is 126
Volume header begins with record 1
Dump   date: Sun Nov 22 12:32:33 2015
Dumped from: the epoch
Level 0 dump of / on ncciris:/dev/dsk/c1t0d0s0
Label: none
maxino = 1818625
readhdr fails at 223 blocks
Remove mask header; predicted 222 blocks, got 44169 blocks
File continuation header, ino 18192; predicted 512 blocks, got 221720 blocks
resync restore, skipped 265154 blocks
Cannot find file dump list

Code:
# ufsrestore -idvf /a/usr/home/partition0.vtoc
Verify volume and initialize maps
Media block size is 126
Volume header begins with record 1
Dump   date: Sun Nov 22 12:32:33 2015
Dumped from: the epoch
Level 0 dump of /home on ncciris:/dev/dsk/c1t0d0s3
Label: none
maxino = 4194305
Remove mask header
File continuation header, ino 2
Dump mask header
partial block read: 53247 should be 64512
abort? [yn] n
File continuation header, ino 2
Extract directories from tape
File header, ino 2 at record 21
Initialize symbol table.
got word `/usr/bin/more'

Code:
# ufsrestore -idvf /a/usr/home/partition0.dmp
Verify volume and initialize maps
Media block size is 126
Volume header begins with record 1
Dump   date: Sun Nov 22 12:32:33 2015
Dumped from: the epoch
Level 0 dump of / on ncciris:/dev/dsk/c1t0d0s0
Label: none
maxino = 1818625
readhdr fails at 223 blocks
Remove mask header; predicted 222 blocks, got 44169 blocks
File continuation header, ino 18192; predicted 512 blocks, got 221720 blocks
resync restore, skipped 265154 blocks
Cannot find file dump list

I'm not sure what it is looking for when I try to dump the .vtoc files. I had to interrupt just to get back to the prompt.

Code:
# ufsrestore -idvf /a/usr/home/partition0.vtoc
Verify volume and initialize maps
Media block size is 126
Volume header begins with record 1
Dump   date: Sun Nov 22 12:32:33 2015
Dumped from: the epoch
Level 0 dump of / on ncciris:/dev/dsk/c1t0d0s0
Label: none
maxino = 1818625
readhdr fails at 223 blocks
partial block read: 31210 should be 64512
abort? [yn] n
Mount volume 2
then enter volume name (default: /a/usr/home/partition0.vtoc)
Volume header begins with record 1
Wrong volume (1)
Mount volume 2
then enter volume name (default: /a/usr/home/partition0.vtoc) mount
Cannot open mount
Mount volume 2
then enter volume name (default: mount) /a/usr/home/partition3.vtoc
Volume header begins with record 1
Wrong volume (1)
Mount volume 2
then enter volume name (default: /a/usr/home/partition3.vtoc) /a/usr/home/partition3.dmp
Volume header begins with record 1
Wrong volume (1)
Mount volume 2
then enter volume name (default: /a/usr/home/partition3.dmp) ^Cufsrestore interrupted, continue? [yn] n

Moderator's Comments:
Mod Comment
Please wrap all code, files, input & output/errors in CODE tags.
It makes it far easier to read and preserves multiple spaces for indenting or fixed width data.

Last edited by rbatte1; 08-30-2016 at 04:53 AM.. Reason: Adjusted CODE tags to include the output/errors
 

10 More Discussions You Might Find Interesting

1. Solaris

exporting a dmp file (oracle)from unix

i want to export a database (full schema) so that I can import the database to a windows 2000 server. The database is sitting on a unix-sun solaris box ver 8.. What are the commands... I am a bit rusty at unix at the moment! Cheers E (4 Replies)
Discussion started by: etravels
4 Replies

2. Linux

Dmp

hi, anyone know how to enable dynamic mutipathing under redhat AS in a SAN-enviroment? thx a lot (1 Reply)
Discussion started by: pressy
1 Replies

3. Homework & Coursework Questions

Create file and then change the extension case.

Interpreter should be bash. 1. The problem statement, all variables and given/known data: I need to make a file (myText.txt or song.mp3 or cloud.tar.gz or whatever) and then change the extension to (myText.TXT , song.MP3, cloud.TAR.GZ). It would be good if I can add all information in... (4 Replies)
Discussion started by: Kdenmen
4 Replies

4. Solaris

Configure Veritas DMP

I am looking forward to configure Veritas DMP on Solaris-10. All pointers appreciated. Thanks, (3 Replies)
Discussion started by: menonk
3 Replies

5. Shell Programming and Scripting

Script to create EVIM template with SAS extension

I write lots of SAS programs and would like to create a script that allows me to have a template each time I create a new program file. Specs: I use EVIM for my editor. I run SAS in batch mode. We use RedHat 6. I don't use c shell. I want a script that will do the following: >... (3 Replies)
Discussion started by: starbecks
3 Replies

6. UNIX for Dummies Questions & Answers

How to list files with no extension together with *.prog files?

Hi, I know that to list files with no extension, we can use.. ls -1 | grep -v "\." And to list .prog files, we can use.. ls -1 *.prog or ls -1 | grep '.prog$' (4 Replies)
Discussion started by: adshocker
4 Replies

7. UNIX Desktop Questions & Answers

Problem with deleting .dmp file

Hi, everybody! I have a big problem. I don't understand Unix, but I work as a system administrator, and sometimes I make some data exports and I have to delete old .dmp files, but today I had a mistake, I wrote rm * 909* This is a part of my folder contents in unix before deleting drwxrwxr-x 2... (4 Replies)
Discussion started by: susan12
4 Replies

8. Shell Programming and Scripting

Python - glob () - How to grep same files with different extension files

Hi I Have a directory and i have some files below abc.txt abc.gif gtee.txt ghod.pid umni.log unmi.tar How can use glob function to grep abc files , i have created a variable "text" and i assigned value as "abc", please suggest me how can we use glob.glob( ) to get the output as below... (2 Replies)
Discussion started by: kumar85shiv
2 Replies

9. UNIX for Dummies Questions & Answers

Display the .csv extension files based on .done extension fine

Hi All, I want to fetch the files based on .done file and display the .csv files and Wil take .csv files for processing. 1.I need to display the .done files from the directory. 2.next i need to search for the .Csv files based on .done file.then move .csv files for the one directory ... (2 Replies)
Discussion started by: girija.g6
2 Replies

10. Shell Programming and Scripting

Bash to create sub directories from specific file extension

In the bash below I am trying to create sub-directories inside a directory from files with specific .bam extensions. There may be more then one $RDIR ing the directory and the .bam file(s) are trimmed (removing the extension and IonCode_0000_) and the result is the folder name that is saved in... (2 Replies)
Discussion started by: cmccabe
2 Replies
All times are GMT -4. The time now is 02:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy