DragonFly kernel List (threaded) for 2004-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: out of inodes... new install
On Fri, Aug 06, 2004 at 09:21:15AM -0700, Matthew Dillon wrote:
>
>:> Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on
>:> /dev/ad0s2a 254063 63277 170461 27% 1849 61893 3% /
>:> /dev/ad0s2d 254063 556 233182 0% 192 63550 0% /var
>:> /dev/ad0s2e 254063 3 233735 0% 3 63739 0% /tmp
>:> /dev/ad0s2f 3120908 2122892 748344 74% 195809 29 100% /usr
>:> /dev/ad0s2g 952771 443491 433059 51% 39039 200319 16% /home
>:> procfs 4 4 0 100% 22 6142 0% /proc
>:>
>:> ...all out ..for what it's worth...
>
> I don't know why so few inodes were created for that filesystem. I
> tried simulating a disk of that size with VN and what I got was:
>
>dhcp62# newfs -U /dev/vn0d
> ...
>dhcp62# mount /dev/vn0d /mnt
>dhcp62# df -i /mnt
>Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on
>/dev/vn0d 3072218 2 2826440 0% 1 384765 0% /mnt
>
>dhcp62# newfs -U -f 1024 -b 8192 /dev/vn0d
> ...
>dhcp62# mount /dev/vn0d /mnt
>dhcp62# df -i /mnt
>Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on
>/dev/vn0d 3025130 1 2783119 0% 1 757117 0% /mnt
>
> By default newfs uses 2K/16K for the fragment and block size. I
> tried both the default and also manually setting it to 1K/8K.
>
> Maybe there is a geometry issue here that we don't know about. Could
> you post the output of 'disklabel ad0s2' ?
>
# disklabel ad0s2
# /dev/ad0s2c:
type: unknown
disk: amnesiac
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 873
sectors/unit: 14024745
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 524288 0 4.2BSD 1024 8192 22 # (Cyl. 0 - 32*)
b: 4194304 524288 swap # (Cyl. 32*- 293*)
c: 14024745 0 unused 0 0 # (Cyl. 0 - 872)
d: 524288 4718592 4.2BSD 1024 8192 22 # (Cyl. 293*- 326*)
e: 524288 5242880 4.2BSD 1024 8192 22 # (Cyl. 326*- 358*)
f: 6291456 5767168 4.2BSD 4096 16384 159 # (Cyl. 358*- 750*)
g: 1966121 12058624 4.2BSD 1024 8192 22 # (Cyl. 750*- 872*)
I was thinking, I'd delete the 2nd and 3rd partition and install on the resulting free space, but happy to keep this around for whatever commands...
(btw "for what it's worth" was re the file count, until I get my TERM thing fixed I can't see well what I'm writing, from BSD)
// George
--
George Georgalis, Architect and administrator, Linux services. IXOYE
http://galis.org/george/ cell:646-331-2027 mailto:george@xxxxxxxxx
Key fingerprint = 5415 2738 61CF 6AE1 E9A7 9EF0 0186 503B 9831 1631
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]