[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BAH! I've taken a dump and want to verify it ;)



Myk Taylor wrote:

>> I thought, that I could do this manually by mounting the tape, taking 
>> a peek at it to see if it looked good, then restoring the file systems 
>> via restore.  But, when I try to mount the tape I get this:
>>
>> valhalla: /home/rvb01 $ sudo mount -r /dev/st0 /mnt
>> mount_ffs: /dev/st0 on /mnt: Inappropriate file type or format
> 
> 
> Assuming you didn't mount the tape to write the dump, you don't need to 
> mount the tape to read it.  Read from the device itself like this:
> 
> restore -if /dev/sd0
> 
> (i for interactive)
> 
> --myk
> 
> 

I did get the advice already and have done that.  Here's a follow-up 
question: Why can't I see any contents under my /home directory? 
Shouldn't I see my users directories and files using restore -i?

Here's a sample of what /home looks like and then the output of /home in 
restore -i:

===========================
Local File System
===========================
valhalla: /home $ ls
rvb01/

===========================
Tape
===========================
valhalla: /home $ sudo restore -i
restore > pwd
/
restore > cd /home
restore > pwd
/home
restore > ls
./home:

restore >