Ufsrestore


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Ufsrestore
# 29  
Old 01-02-2018
Yes, okay, got that, but I think you've lost me now.

So what exactly isn't working? Can you mount this NFS handle on /mnt?

If so,

Code:
# cd /mnt
# ls

should show you the contents of the share directory on the NAS.

Where are we up to now?
This User Gave Thanks to hicksd8 For This Post:
# 30  
Old 01-02-2018
I was talking about the machine I'm cloning, not the clone. I was asking if perhaps the
Code:
<NAS_Name>

it has is the handle, (and not
Code:
/mnt/<dir>/<dir>/<dir>/<share>)

)

Is it?

Also, cd /mnt
ls empty on both machines.

Also, I tried to create a directory in
Code:
/mnt

on the clone and I got
Code:
filed to make directory; Read only file system

which didn't sound good.
Thanks!
# 31  
Old 01-02-2018
As previously stated:

Code:
# showmount -e <NAS ip address>

will tell you what NFS handle(s) are available to mount.

Then:

Code:
# mount <NAS ip addr>:<nfs handle> <local mountpoint>

should mount that (remote) NFS handle.

The showmount output should give you the NFS handle exactly as it is (shared).

Is the mount command still giving you access denied? If so, then (1) perhaps that NAS will only accept one connection to one share and the production box already has it mounted (try dismounting it from original system), or (2) the NAS is refusing an inbound connection request from the ip address you are using on the clone, or (3) another security entry on the NAS needs to be opened up.

So what error if any are you getting when you try to mount?

This shouldn't be difficult; famous last words!

Last edited by hicksd8; 01-02-2018 at 04:37 PM..
This User Gave Thanks to hicksd8 For This Post:
# 32  
Old 01-02-2018
In your post#4 you say that your clone can reach the NAS and mount directories. So what's not working?
This User Gave Thanks to hicksd8 For This Post:
# 33  
Old 01-02-2018
Yes, /mnt will be empty on the clone until the mount succeeds.
This User Gave Thanks to hicksd8 For This Post:
# 34  
Old 01-04-2018
Sorry I keep bringing up the handle. I thought the
Code:
*

might mean the handle was missing, and that all we were seeing was maybe a path for the handle. Not finding too much info on handles..

Turns out I was misspelling the handle- using an O instead of an 0. So no more permission issue.

But then I was getting an error saying it was busy So I fiddled with it and gave up for the evening.

Tried to reproduce the same issue this morning so I could post it here, and the NAS friggin mounted without issue. The last thing I did yesterday was
Code:
cd a

. Don't know if that did anything.

So I have no idea how that issue went away. I guess it really was super busy.

So now I can see all my NAS files in
Code:
mnt

# 35  
Old 01-04-2018
Most likely cause is......you cannot mount or umount any volume if you are actually on the volume.

So, if you were actually in the /mnt directory, you could not mount something on that mountpoint until you move away from it. As soon as you see 'busy' when mounting or dismounting a volume, that's the first thing you should think of. If you're not on the volume/mountpoint then probably some other user is.

Anyway, very well done!!! You are getting there.

Last edited by hicksd8; 01-04-2018 at 12:43 PM..
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