'oddness' for BIG filesystems..

From: Julian Elischer <julian_at_elischer.org>
Date: Tue, 6 May 2003 15:28:08 -0700 (PDT)
biggie# gpt show da2
       start         end        size  contents
           0           0           1  PMBR
           1           1           1  Pri GPT header
           2          33          32  Pri GPT table
          34  4480587742  4480587709  GPT part - FreeBSD ufs partition
  4480587743  4480587774          32  Sec GPT table
  4480587775  4480587775           1  Sec GPT header
biggie# ls -l /dev/da2*
crw-r-----  1 root  operator    4,  22 May  6 15:12 /dev/da2
crw-r-----  1 root  operator    4,  38 May  6 15:12 /dev/da2p1
biggie# newfs da2p1
/dev/da2p1: 2187787.0MB (4480587708 sectors) block size 16384, fragment
size 2048
        using 11906 cylinder groups of 183.77MB, 11761 blks, 23552
inodes.
super-block backups (for fsck -b #) at:
 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624,
3010976,
 3387328, 3763680, 4140032, 4516384, 4892736, 5269088, 5645440, 6021792,
 6398144, 6774496, 7150848, 7527200, 7903552, 8279904, 8656256, 9032608,
 9408960, 9785312, 10161664, 10538016, 10914368, 11290720, 11667072,
12043424,
[...]
 4473320032, 4473696384, 4474072736, 4474449088, 4474825440, 4475201792,
 4475578144, 4475954496, 4476330848, 4476707200, 4477083552, 4477459904,
 4477836256, 4478212608, 4478588960, 4478965312, 4479341664, 4479718016,
 4480094368, 4480470720
biggie# ls -ld /junk
drwxr-xr-x  2 root  wheel  512 Dec  6 17:19 /junk
biggie# mount /dev/da2p1 /junk
biggie# df /junk
Filesystem 1K-blocks   Used      Avail Capacity  Mounted on
/dev/da2p1 -2125157230    2 1996225260     0%    /junk

hmmmmm   -2125157230? obviously a 32 bit number in there somewhere..

:-)

Prior to this I did the same but upon mounting the filesystem
/junk disappeared. it showed up in 'df' and 'mount' but
it didnt't appear in / and there was no way to access it.
It was not possible to unmount it.

I was forced to reboot.  I have not seen it so far this session
but if anyone else has a large filesystem they may keep an eye
open for this wierdness.
Received on Tue May 06 2003 - 13:28:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:06 UTC