Sponsored Content
Operating Systems Solaris Can ufsdump create files that have a .vtoc and .dmp extension? Post 302980143 by CurtArnold on Wednesday 24th of August 2016 12:23:29 PM
Old 08-24-2016
/dev/rmt/0: No such file or directory

Hi Hicksd8,

Thanks again for all the great info. As far as experience level, I had never worked with Solaris or Unix servers up until last week. What I know is what I've learned from Google and forums the past few days. I've dealt with ubuntu servers quite a bit, but thats a whole different ball game. Feel free to explain it to me like a toddler if you have the time. I could use the help!

I tried ufsresore with the t option and these are the results.
Code:
# cd /tmp/backup
# ls
bin             etc             lost+found      platform        usbdrive
cdrom           export          mnt             proc            usr
data            home            net             sbin            var
dev             kernel          opt             space           vol
devices         lib             partition0.dmp  tmp             xfn
# ufsrestore -t partition0.dmp
/dev/rmt/0: No such file or directory
# ufsrestore -t /tmp/backup/partition0.dmp
/dev/rmt/0: No such file or directory
# ufsrestore t /tmp/backup/partition0.dmp
/dev/rmt/0: No such file or directory
# ufsrestore t partition.dmp
/dev/rmt/0: No such file or directory
#

I went ahead and completed the steps you laid out. I mounted the HDD with the backup files at /mnt.

I setup the partitions, labels, and a new file system on the drive I am trying to restore to. I mounted it to /a like you suggested.

Below shows where I'm at.

Code:
/mnt on /dev/dsk/c1t0d0s0 read/write/setuid/intr/largefiles/onerror=panic/dev=800000 on Mon Jan  1 11:23:13 1996
/a on /dev/dsk/c1t1d0s0 read/write/setuid/intr/largefiles/onerror=panic/dev=800008 on Mon Jan  1 11:24:36 1996
# cd /mnt/
# ls
bin             etc             lost+found      platform        usbdrive
cdrom           export          mnt             proc            usr
data            home            net             sbin            var
dev             kernel          opt             space           vol
devices         lib             partition0.dmp  tmp             xfn
# pwd
/mnt
# cd
# cd /a/
# ls
lost+found
# ufsrestore x /mnt/partition0.dmp
/dev/rmt/0: No such file or directory

Everytime I try to use the ufsrestore command I get an error that looks like it cannot find the tape drive /dev/rmt/0. I'm sure I must be putting in the file path wrong or something.

Thanks again for all the great info!
 

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
device_maps(4)							   File Formats 						    device_maps(4)

NAME
device_maps - device_maps file SYNOPSIS
/etc/security/device_maps DESCRIPTION
The device_maps file contains access control information about each physical device. Each device is represented by a one line entry of the form: device-name : device-type : device-list : where device-name This is an arbitrary ASCII string naming the physical device. This field contains no embedded white space or non- printable characters. device-type This is an arbitrary ASCII string naming the generic device type. This field identifies and groups together devices of like type. This field contains no embedded white space or non-printable characters. device-list This is a list of the device special files associated with the physical device. This field contains valid device special file path names separated by white space. The device_maps file is an ASCII file that resides in the /etc/security directory. Lines in device_maps can end with a `' to continue an entry on the next line. Comments may also be included. A `#' makes a comment of all further text until the next NEWLINE not immediately preceded by a `'. Leading and trailing blanks are allowed in any of the fields. The device_maps file must be created by the system administrator before device allocation is enabled. This file is owned by root, with a group of sys, and a mode of 0644. EXAMPLES
Example 1: A sample device_maps file # scsi tape st1: rmt: /dev/rst21 /dev/nrst21 /dev/rst5 /dev/nrst5 /dev/rst13 /dev/nrst13 /dev/rst29 /dev/nrst29 /dev/rmt/1l /dev/rmt/1m /dev/rmt/1 /dev/rmt/1h /dev/rmt/1u /dev/rmt/1ln /dev/rmt/1mn /dev/rmt/1n /dev/rmt/1hn /dev/rmt/1un /dev/rmt/1b /dev/rmt/1bn: FILES
/etc/security/device_maps SEE ALSO
allocate(1), bsmconv(1M), deallocate(1), dminfo(1M), list_devices(1) NOTES
The functionality described in this man page is available only if the Basic Security Module (BSM) has been enabled. See bsmconv(1M) for more information. SunOS 5.10 16 Jan 2001 device_maps(4)
All times are GMT -4. The time now is 11:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy