Chatting to other people here, they agree that I need to take the system to single user mode, unmount /var and try an fsck. If that doesn't fix your problem, then you will need to newfs /var and restore it from tape as /var is damaged..
I can see /var when I rewind tape then read content.
# ufsrestore -tvf /dev/rmt/0cn
Level 0 dump of / on FINSRV0003:/dev/md/dsk/d12
Label: none
dir 2 .
dir 3 ./lost+found
dir 4 ./var should I fsf 4?
dir 5 ./export
dir 6 ./export/home
dir...
This what I get
ufsrestore xvf /dev/rmt/0cn ./var
Verify volume and initialize maps
Media block size is 64
Dump date: Wed Jun 16 04:46:34 2004
Dumped from: the epoch
Level 0 dump of /var on FINSRV0003:/dev/md/dsk/d32
Label: none
Extract directories from tape
Initialize symbol table.
./var is...
have restore but when I type ls -als /var I get total 0.
When I type ls -als /var/spool file are displayed. What am I doing wrong .
How do I get the server to display what is under /var
Now this what I get after a few extracts
Extract requested files
You have not read any volumes yet.
Unless you know which volume your file(s) are on you should start
with the last volume and work towards the first.
Specify next volume #:
What should I do?
No
The backup on the server uses ufsdump to backup files
To restore you will need to use ufsrestore unless am wrong.
Every thing under /var is wiped out
Hi
I
f I create a temporary swap space on /dev/vx/dsk/var. My question is, will this delete all file in /dev/vx/dsk/var
Example swap –a /dev/vx/dsk/var
Please advice
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.