divvy shows /u but df shows nothin' ?

divvy shows /u but df shows nothin' ?

Post by Courtney Thoma » Thu, 01 Oct 1998 04:00:00



Greetings again !

Thanks to all for previous help.

Running ODT3.0, [I have OSR5 & UnixWare but have been running ODT for
some time and will continue to] I installed
root fs = 500M and /u = 2Gig.
All was well, but I erred and root was thereby corrupted.

After using sysadmsh to restore a tape [cpio] I have root back but no /u
filesystem.

Is there a means of attempting to restore the former /u ?

If not, how do I make a new one, bearing in mind that divvy shows it to
still exist but df is ignorant of it's existence ? I mistakenly thought
sysadmsh-->backup had backed up /u, but apparently not.

As a consequence of........

 fsck /u   ---> /tmp/fs.LOG    

contains info about not being able to read/seek a series of BLKs that
apparently are missing, and a comment about a BAD FREE LIST and then
fsck attempts to salvage.

I will be glad to attempt the de* or any other suggestion to save
the situation if I can get sage advice.

[I have since gotten lone-tar but that doesn't help at the moment.]

Appreciatively,


--
Majority, n.:
        That quality that distinguishes a crime from a law.

 
 
 

divvy shows /u but df shows nothin' ?

Post by Andrew Smallsha » Fri, 02 Oct 1998 04:00:00



> If not, how do I make a new one, bearing in mind that divvy shows it to
> still exist but df is ignorant of it's existence ? I mistakenly thought
> sysadmsh-->backup had backed up /u, but apparently not.

It sounds as if /u is not mounted.  As root try:

mount [/u special file] /u

--
Andrew Smallshaw


 
 
 

divvy shows /u but df shows nothin' ?

Post by John Dankh » Fri, 02 Oct 1998 04:00:00


Quote:>Greetings again !

>Thanks to all for previous help.

>Running ODT3.0, [I have OSR5 & UnixWare but have been running ODT for
>some time and will continue to] I installed
>root fs = 500M and /u = 2Gig.
>All was well, but I erred and root was thereby corrupted.

>After using sysadmsh to restore a tape [cpio] I have root back but no /u
>filesystem.

>Is there a means of attempting to restore the former /u ?

>If not, how do I make a new one, bearing in mind that divvy shows it to
>still exist but df is ignorant of it's existence ? I mistakenly thought
>sysadmsh-->backup had backed up /u, but apparently not.

......

I don't know exactly what happend or what you did/doing....
but it seems like you don't have a filesystem /u defined
just because you can see a "u" defined under divvy does not mean you'll
have a /u directory..
make sure you have a "/dev/u" (which seems like you do from the "fsck")

try mounting it, "mkdir /u", "mount /dev/u /u" if this works, go ahead and
unmount it, then use sysadmsh->filesystem (I think) then create a file
system /u

Hope this helps

Later
JED

          .  These are my own uninformed opinions, not my employer's.
         / \ Use at your own risk.

       /  %%%\############&&&&&&&&&&& H&D Technologies
      /       \      ########******** http://www.hdtechnologies.com
     /         \           #####$$$$$ (562)431-0098     (562)431-9958 (Fax)
     -----------

 
 
 

divvy shows /u but df shows nothin' ?

Post by Roberto Zi » Sat, 03 Oct 1998 04:00:00



says...

Quote:

>>Greetings again !

>>Thanks to all for previous help.

>>Running ODT3.0, [I have OSR5 & UnixWare but have been running ODT for
>>some time and will continue to] I installed
>>root fs = 500M and /u = 2Gig.
>>All was well, but I erred and root was thereby corrupted.

[snip]

Quote:

>I don't know exactly what happend or what you did/doing....
>but it seems like you don't have a filesystem /u defined
>just because you can see a "u" defined under divvy does not mean you'll
>have a /u directory..
>make sure you have a "/dev/u" (which seems like you do from the "fsck")

>try mounting it, "mkdir /u", "mount /dev/u /u" if this works, go ahead and
>unmount it, then use sysadmsh->filesystem (I think) then create a file
>system /u

Hi !

Good suggestions to which I dare to add the following: when you
run "divvy", take note of the division number under which your
/u filesystem is defined (on a machine here in our labs, this
number is 4). Next, lookup the "hd(HW)" man page and look
for the following table:

--------------------------------------------
            Bits
7  6  5  4  3  2  1  0   Description
--------------------------------------------
X  X  -  -  -  -  -  -   disk # (0-3)
-  -  X  X  X  -  -  -   partition # (1-4)
-  -  -  -  -  X  X  X   division # (0-6)
-  -  X  X  X  1  1  1   whole partition
-  -  0  0  0  0  0  0   whole physical disk
-  -  1  0  1  -  -  -   active partition
-  -  1  1  0  -  -  -   DOS partition
-  -  1  1  0  X  X  X   DOS drive (C-J)

Your /dev/u should have a minor number of 43,
(00101011bin) which means:

00              (disk #0 - if it's on the primary)
    101         (active partition)
          011   (division number 4)

So if you don't have it, "mknod /dev/u b 1 43" and
"mount /dev/u /u" and you'll be fine.

Hope this helps !

Best,
Roberto

--
P.S. : please remove the ending "dy" from my Email address      
       if you want to reply.
------------------------------------------------------------------------

Strhold Sistemi EDP                           Reggio Emilia      ITALY                                        

------------------------------------------------------------------------
"Has anybody seen an aircraft carrier around ?"                            
(Pete "Maverick" Mitchell - Top Gun)                        

 
 
 

divvy shows /u but df shows nothin' ?

Post by Courtney Thoma » Sat, 03 Oct 1998 04:00:00


Thanks so much to all for help !

        Courtney

*******************************************



> says...

> >>Greetings again !

> >>Thanks to all for previous help.

> >>Running ODT3.0, [I have OSR5 & UnixWare but have been running ODT for
> >>some time and will continue to] I installed
> >>root fs = 500M and /u = 2Gig.
> >>All was well, but I erred and root was thereby corrupted.

> [snip]

> >I don't know exactly what happend or what you did/doing....
> >but it seems like you don't have a filesystem /u defined
> >just because you can see a "u" defined under divvy does not mean you'll
> >have a /u directory..
> >make sure you have a "/dev/u" (which seems like you do from the "fsck")

> >try mounting it, "mkdir /u", "mount /dev/u /u" if this works, go ahead and
> >unmount it, then use sysadmsh->filesystem (I think) then create a file
> >system /u

> Hi !

> Good suggestions to which I dare to add the following: when you
> run "divvy", take note of the division number under which your
> /u filesystem is defined (on a machine here in our labs, this
> number is 4). Next, lookup the "hd(HW)" man page and look
> for the following table:

> --------------------------------------------
>             Bits
> 7  6  5  4  3  2  1  0   Description
> --------------------------------------------
> X  X  -  -  -  -  -  -   disk # (0-3)
> -  -  X  X  X  -  -  -   partition # (1-4)
> -  -  -  -  -  X  X  X   division # (0-6)
> -  -  X  X  X  1  1  1   whole partition
> -  -  0  0  0  0  0  0   whole physical disk
> -  -  1  0  1  -  -  -   active partition
> -  -  1  1  0  -  -  -   DOS partition
> -  -  1  1  0  X  X  X   DOS drive (C-J)

> Your /dev/u should have a minor number of 43,
> (00101011bin) which means:

> 00              (disk #0 - if it's on the primary)
>     101         (active partition)
>           011   (division number 4)

> So if you don't have it, "mknod /dev/u b 1 43" and
> "mount /dev/u /u" and you'll be fine.

> Hope this helps !

> Best,
> Roberto

> --
> P.S. : please remove the ending "dy" from my Email address
>        if you want to reply.
> ------------------------------------------------------------------------

> Strhold Sistemi EDP                           Reggio Emilia      ITALY

> ------------------------------------------------------------------------
> "Has anybody seen an aircraft carrier around ?"
> (Pete "Maverick" Mitchell - Top Gun)

--
Majority, n.:
        That quality that distinguishes a crime from a law.
 
 
 

1. 'df' and 'du' show wrong sizes

Adabas D 10.0 Linux Business
Redhat 4.0 / RedHat 4.2

I've installed Adabas D an created an new DB using xcontrol. The Data,  
SysDev, DataDev and Transactionlog have been added to the same partition  
/dev/sdb5 aka /home/adabas. In the result the filesizes shown by 'ls -l'  
are correct, the device space shown with 'df' or 'du' is not. Has anyone  
seen this before? I have done a filesystemcheck with e2fsck but it doesnot  
detect any error.

Moving the files to another volume and back solves the problem.

Frank

Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/sdb5             303251   26150   261440      9%   /home/adabas


total 26151
drwxr-xr-x   3 adabas   adabas       1024 May  1 00:21 .
drwxr-xr-x  47 root     root         1024 Mar 27 19:39 ..
drwxr-xr-x   2 root     root        12288 Apr 30 13:01 lost+found
-rw-r--r--   1 adabas   database      204 Apr 30 14:45 util1.prot
-rw-r--r--   1 adabas   database 102404096 May  1 00:34 www.data
-rw-r--r--   1 adabas   database  1527808 May  1 03:04 www.sys
-rw-r--r--   1 adabas   database 20484096 May  1 00:38 www.trans
-rw-r--r--   1 adabas   database      240 Apr 30 23:56 xparam.prot


12      lost+found
1       util1.prot
5434    www.data
617     www.sys
20084   www.trans
1       xparam.prot

2. Release of mlist 1.1

3. df doesn't show mounted disk ?!

4. Netscape 4.05 Fastttrack Administration

5. df doesn't show anything by default

6. READ THE WEB-SITE THAT THE KIKES TRY TO CENSOR

7. df shows 100% used, after I removed files, it's still 100% used

8. Here we go again.... No SCSI hosts detected!

9. df doesn't show correct info

10. Space doesn't show in df after adding volume to hd2 (/usr)

11. df doesn't show correct ptn info

12. New!: CreativeLinux.com, Webbie Tookay-Virtual Supermodel, Game Show Network Debuts New Show

13. Do you like show you new ideas or designs on British Invention Show?