Ufsrestore


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Ufsrestore
# 22  
Old 12-28-2017
Could it be that I don't have a mnt directory? Do I need to make it or will the mount command make it?

---------- Post updated at 12:39 PM ---------- Previous update was at 12:33 PM ----------

Not it. Created it, no difference.
# 23  
Old 12-28-2017
All Solaris distribution media AKAIK have /a and /mnt mount points.

When booted from DVD in single user mode you should be able to:

Code:
# cd /
# ls

and see both of them.

The standard use of /a is to mount the hard disk root filesystem so you can inspect it (for example, if the system won't boot from it) and the /mnt is usually for a 'media' device (for example, tape drive or NFS remote mount), but, of course, they can be used for anything the sysadmin wants to use them for.

I would think that 'access denied' means what is says.
# 24  
Old 12-28-2017
Quote:
Originally Posted by hicksd8
Before we go looking at potential password issues there are a few things to checkout first.

Currently NFS comes in three versions, 3,4 and 5. They need to be matched between communicating nodes. Also, we may be being denied write access but we don't need write to do a restore.

So lets try:

Code:
# mount -F nfs -o vers=3 -r <NAS ip address>:<handle> /mnt

and try vers=4 and vers=5 too.

The -r means we will accept a readonly connection.

Try all combinations and see what happens.

Yes, some NAS can be configured to require a password but that is unlikely in this case if you didn't need one to mount for the dump.
No luck on any of those. Is there a way to add username and password to the command? (I manage the NAS)

Also.. my handle is a path like
Code:
/mnt/1/2/3..

does that sound right?
# 25  
Old 12-28-2017
No, the NFS handle should be whatever (literally) it says in response to:

Code:
# showmount -e <NAS ip address>

which, although not impossible, I would not expect to include /mnt
# 26  
Old 01-02-2018
In response to
Code:
showmount -e <NAS ip address>

I get
Code:
/mnt/<dir>/<dir>/<dir>/<share>         *

# 27  
Old 01-02-2018
Is it possible for you to post the actual output?

So what says:

Code:
# mount <NAS ip address>:/mnt/<dir>/<dir>/<dir>/<share> /mnt

And, when the dump was taken on the other server, there was a mount command issued to this NFS handle. Can you post that exact command?
# 28  
Old 01-02-2018
Quote:
Originally Posted by hicksd8
All Solaris distribution media AKAIK have /a and /mnt mount points.

When booted from DVD in single user mode you should be able to:

Code:
# cd /
# ls

and see both of them.
OK.. Its there. Thanks..

---------- Post updated at 01:27 PM ---------- Previous update was at 10:08 AM ----------

Quote:
Originally Posted by hicksd8
Is it possible for you to post the actual output?

So what says:

Code:
# mount <NAS ip address>:/mnt/<dir>/<dir>/<dir>/<share> /mnt

And, when the dump was taken on the other server, there was a mount command issued to this NFS handle. Can you post that exact command?
The NAS is always mounted on the existing machine. If I enter
Code:
mount

I see a name for the NAS- is that the handle? Ex:
Code:
/<dir> on <NAS_Name>:/mnt/dir>/<dir>/<dir>/<dir> remote/read/write/setuid...

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Ufsrestore on Solaris 9

Good Morning, I'm running through a Solaris 9 ufsrestore process on a Sunblade 2500 that folks here helped me write a year ago. Here: https://www.unix.com/303011447-post11.html Hicksd8 tells me to # rm restoresymtable. I see this file in the other slices as well. Do I remove it from... (8 Replies)
Discussion started by: Stellaman1977
8 Replies

2. Solaris

ufsrestore T5240

Hi Friends we have sun T5240 server, we have taken ufsdump of this server remotely with scsi tapedrive, If we need to do ufsrestore means what we have to do, since T5240 has not having scsi port, any procedure is there? Regards Rajasekar (5 Replies)
Discussion started by: rajasekg
5 Replies

3. Solaris

How do you ufsrestore the fast way?

hi, on my sol9 box i create my backup using the below command: /usr/sbin/ufsdump 0uf /dev/rmt/0n /u1 /usr/sbin/ufsdump 0uf /dev/rmt/0n /u2 /usr/sbin/ufsdump 0uf /dev/rmt/0n /u3 /usr/sbin/ufsdump 0uf /dev/rmt/0n /u4 now on the new sol10 box, to restore i use this commands: cd /u1... (3 Replies)
Discussion started by: pinoy43v3r
3 Replies

4. Solaris

ufsrestore will not boot

hey all, i did a ufsdump/restore from a mirrored system and i'm not able to get the new system to boot off of the dump. system 1 is a v245 mirrored with disk suite. metadb's are in place d3 -m d23 d13 d33 1 d23 1 1 c1t1d0s3 d13 1 1 c1t0d0s3 d33 1 1 c1t2d0s3 d0 -m d20 d10 d30 1 d20 1... (3 Replies)
Discussion started by: em23
3 Replies

5. Solaris

What is volume in ufsrestore

Hi Gurus, Can you guys please explain what is volume in ufsrestore? Thanks (2 Replies)
Discussion started by: kumarmani
2 Replies

6. Solaris

ufsrestore

Hi , I accidentally deleted crontab entries and I need to restore back urgently ! we use a ufsdump with 0cfu option. I like to know how to restrore / retrieve to different location for crontab file only from the backup. Thanks. (4 Replies)
Discussion started by: skully
4 Replies

7. Solaris

Using ufsdump and ufsrestore

HI Gurus, I have a sunfire V445 server running SAP ECC 6.0 with an Oracle database on Solaris 9 (SunOS 5.9). I recently completed a ufsdump to tape of the following files:- /, /usr, /oracle, /export, /sapr3, I want to restore these files from tape onto a different server of the same... (5 Replies)
Discussion started by: charleywasharo
5 Replies

8. Solaris

ufsrestore?

I'm trying to restore a server from a backup tape. I've partitioned my drive, and I've run into a problem; After extracting everything from the tape, It seems as if only the directory structure is intact. Here are my steps: 1. booted from cdrom to single user mode boot cdrom -s 2. used... (3 Replies)
Discussion started by: ECBROWN
3 Replies

9. Solaris

ufsrestore

on sparc solaris 2.8 hosts, HOSTB, after changing to /dir1 need to: connect to tape drive on HostA. change directory to /dir0/dir1 on tape and restore everything under that path to /dir1 directory. could i get help?. (1 Reply)
Discussion started by: S26+
1 Replies

10. UNIX for Dummies Questions & Answers

ufsrestore -i

Hi there, I have a problem at the moment trying to restore a directory from a Super DLT tape with about 3 weeks worth of backups on it. I need to be able to get the last backup performed on this tape but using ufsrestore -i it only restores the first backup which is no good to me. There is... (4 Replies)
Discussion started by: gerwhelan
4 Replies
Login or Register to Ask a Question