Hicksd8 tells me to # rm restoresymtable. I see this file in the other slices as well. Do I remove it from all of them or just the root?
Quote:
1. Boot from DVD into single user and 'newfs' the root filesystem slice (c0t0d0s0).
2. Plumb, configure and up a network interface, and mount your NAS under /mnt
3. mount your now empty root filesystem under /a, cd into /a, check for Lost+Found as the sole contents.
4. Stay in /a and ufsrestore your root filesystem. When finished check the contents of /a looks like a root filesystem.
5. If this file exists immediately delete it: Code: # rm restoresymtable
The restoresymtable is a temporary file for ufsrestore, and can be safely removed.
(Actually ufsrestore only needs it if the dump file is on tape and spans over more than one tape.)
By default ufsrestore puts it at the top of the to-be-restored filesystem.
Last edited by MadeInGermany; 01-29-2019 at 03:20 PM..
These 2 Users Gave Thanks to MadeInGermany For This Post:
Your decision.
Usually I removed them, in order to occupy less space on the file system (and on the backup medium).
Also saved me from "what's this?" questions
This User Gave Thanks to MadeInGermany For This Post:
Thanks.. I've proceeded further along but have finally hit a snag.
I was unable to install boot blocks using this:
I get syntax error: '(` unexpected
So, I skipped the step because my notes said I may have to install boot blocks, not definitely have to. I'm reusing an old drive and thought its probably already there.
But at this point, when I try to boot to the root volume in single user mode # boot -sw I get
Is this a boot block issue?
--- Post updated at 09:39 AM ---
I'm suspicious of uname and the device. (and the number for that matter)
Should it be something more like:
or:
0 is my root slice and 3 is my usr so I'm not sure which would be right
Yes, this is a boot block issue.
So it is actually
/dev -> device
rdsk -> raw disk
You can look at the raw disk device and the bootblock file on the install medium
and even check their file type
The installboot command copies the file to a certain area on the disk (that is not visible in the file system).
Between the backticks there is a sub command
The shell runs it and replaces the backticks portion with the result, like this:
This User Gave Thanks to MadeInGermany For This Post:
Thanks.. Yes I was reading the man after I replied and realized 'uname -i' was correct and 0 is the right slice. (Should have thought to check that sooner- sorry)
To be clear, I'm supposed to replace x,y, and z with numbers- correct?
Good Afternoon,
I'm going to attempt a ufsrestore of a Solaris 9 machine from a connected NAS containing the ufsdumps. The idea is to be able to take ufsdumps of a failed machine (machine 1), and use them to set up a backup machine (machine 2). (I'm testing for disaster recovery)
Note... (52 Replies)
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)
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)
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)
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)
Hello Folks,
I have to restore from remote tape sun solaris 10. It has to have mirror raid.
I have to restore /,/usr, /var,/opt, /etc,/u01.
Could you please give me detailed steps to do the above?
I am new to solaris
Thanks
Ram (1 Reply)
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)
I just installed solaris 9 on a sunblade 150(sparc), and have it partitioned. I've been using ufsrestore to restore bring the config from my old system, to the sunblade. I'm not having any luck. The root directory restore seems to work. When I try to restore /usr, I get an "/usr/sbin/fsck not... (4 Replies)
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)
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)