ufsdump under SunOS 5.2

ufsdump under SunOS 5.2

Post by Carl Brew » Sun, 27 Feb 1994 20:36:16



G'day

Am I doing something wrong?!

System,  SunOS 5.2,  SS10/41,  4mm dat drive (sun supplied)

format shows for drive 0 (onboard disk,  with /, /usr & /export etc)
part 2,  backup, tag : wm, cyls 0-2035, size 1002.09MB ...

from TFM,  if I tell ufsdump to backup slice 2, it should back up the
whole disk (unless I read it incorrectly).

So I do the following :

# ufsdump 0fu /dev/dat /dev/dsk/cot3d0s2

It tells me it's only backed up about 14 MB (roughly the size
of my / partition ..),  when it _should_ have about 300-500 MB
(all of /, /usr, /export/home etc )

Understandably,  I'm a bit concerned!

Am I sending the wrong arguments to ufsdump?  

Thanks in advance for any hints,  pointers to correct man pages
to read, or general abuse :)

--
Carl Brewer                             Ph :61-9-380-1893 | #include \
Systems/Network Officer, Reid Library   Fax:61-9-380-1012 | <std_disclaimer.h>

Merlin, where are you?  Call your Dragon, to weave a mist ....

 
 
 

ufsdump under SunOS 5.2

Post by Casper H.S. D » Sun, 27 Feb 1994 21:11:21



>Am I doing something wrong?!

Yes.

Quote:>from TFM,  if I tell ufsdump to backup slice 2, it should back up the
>whole disk (unless I read it incorrectly).

You read wrong.  Dump will only backup filesystems, not disks or
disk partitions.

Quote:>So I do the following :
># ufsdump 0fu /dev/dat /dev/dsk/cot3d0s2
>It tells me it's only backed up about 14 MB (roughly the size
>of my / partition ..),  when it _should_ have about 300-500 MB
>(all of /, /usr, /export/home etc )

It backsup only / because the slice 2 looks like slice 0.
(block N of s0 is block N of s2, when you dump s2 it finds
the superblock of s0 and dmps the files in s0 only)

Quote:>Am I sending the wrong arguments to ufsdump?  

You need to dump all filesystems one by one,
it works just like SunOS 4.x or any BSD dump.

Casper

 
 
 

1. SunOS 4.1 vs SunOS 5.2

I do not understand why behavior is different between SunOS 4.1 and 5.2.

I have an executable file with the setuid bit on (anyone can execute
it), owned by user A.  The executable file does a system("bbb"), where
bbb is a sh script.  The script accesses a file which is only readable
by user A.

In SunOS 4.1, when someone other than user A runs the executable file, the
file (readable only by user A) is accessed OK.

But in SunOS 5.2, when someone other than user A runs the executable file,
access is prevented.

Any ideas or help would be appreciated.  Please email me.

Harold McCabe

2. Problems with OSS driver (/dev/dsp).

3. SunOS 5.2 Print Client and BSD Print Server

4. web-based email server for multiple domains

5. Terminal hookup to SS2 under SunOS 5.2

6. Kppp

7. GNU finger dying regularly on SunOS 5.2

8. PPP timeout

9. Profiling problems under SunOS 5.2

10. automounting trouble from SunOS 4.1.x to Irix 5.2?

11. Help with unlink on a directory on SunOS 5.2

12. top3.1beta under SunOS 5.2 problems

13. porting SunOS C++ program to RH 5.2 Linux