Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 1999 20:10:36 -0400
From:      Edward Akeyson <eakeyson@mail1.nai.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   root FS on IDE vs. SCSI disk
Message-ID:  <99092120341500.05302@has.podunk.net>

next in thread | raw e-mail | index | archive | help
Hello all:

I am running -stable on my PII machine (was 3.2, recently u/g to 3.3)
and all has been running smoothly. I initially had the system installed on an
IDE disk, then I recently added a SCSI disk and transferred the system to it. I
made the root FS on the SCSI drive larger (~50MB instead of ~30MB) than it was
on the original system on the IDE drive because the / partition was always near
capacity. I changed my kernel to boot from the SCSI disk and it is booting
fine...

However, the root FS on the SCSI disk is now also nearly full with the same
files and directory structure as I had on the IDE disk. I have checked all of
the files in each of the directories on the / FS and there are only small
diff's.The output of 'df' shown below to ilustrate (IDE drive mounted on /mnt):

Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/da0s1a     49583    43045     2572    94%    /
/dev/da0s1f   3890251  2361600  1217431    66%    /usr
/dev/da0s1e     49583    19287    26330    42%    /var
procfs              4        4        0   100%    /proc
/dev/wd0s1a     31743    22635     6569    78%    /mnt

(output of 'diff' of dir of / partition of both shown below)

Is there some reason that the same files and dirs should take up 22635 blocks
on IDE and 43405 on SCSI, or have I missed something obvious? This problem
existed before I upgraded to 3.3-stable from 3.2-stable on the SCSI disk (da0).I
can provide any other output requested.

Thanks for the help and keep up the good work on the best OS ever....

Ed Akeyson, M.D.
New Haven Neurosurgical Associates
New Haven, CT

1,32c1,33
< total 6190
< drwxr-xr-x  22 root  wheel       512 Sep 21 20:16 .
< drwxr-xr-x  22 root  wheel       512 Sep 21 20:16 ..
< -r--r--r--   1 root  wheel      3480 Aug 14 20:59 COPYRIGHT
< drwxr-xr-x   2 root  wheel       512 Sep 20 08:30 bin
< drwxr-xr-x   3 root  wheel       512 Sep 20 08:36 boot
< drwxr-xr-x   2 root  wheel       512 Aug 15 15:16 cdrom
< lrwxr-xr-x   1 root  wheel        11 Aug 14 20:55 compat -> /usr/compat
< drwxr-xr-x   3 root  wheel     10240 Sep 21 18:30 dev
< drwxr-xr-x   2 root  wheel       512 Aug 14 20:56 dist
< drwxr-xr-x   2 root  wheel       512 Aug 15 15:16 drive_c
< drwxr-xr-x  14 root  wheel      2048 Sep 21 19:30 etc
< drwxr-xr-x   2 root  wheel       512 Aug 14 20:56 floppy
< lrwxr-xr-x   1 root  wheel         9 Aug 14 20:56 home -> /usr/home
< -r-xr-xr-x   1 root  wheel   2013332 Sep 20 15:35 kernel
< -rwxr-xr-x   1 root  wheel   2236663 Sep 21 20:06 kernel.GENERIC
< -rw-r--r--   1 root  wheel       130 Aug 14 21:00 kernel.config
< -r-xr-xr-x   1 root  wheel   2011300 Sep 20 14:41 kernel.last
< drwxr-xr-x   2 root  wheel       512 Aug 14 20:57 lkm
< drwxrwxrwt   2 uucp  dialer     1024 Sep  4 23:32 lost+found
< drwxr-xr-x  22 root  wheel       512 Aug 15 15:17 mnt
< drwxr-xr-x   2 root  wheel      1024 Sep 20 08:36 modules
< drwxr-xr-x   2 root  wheel       512 Aug 15 15:17 msdos
< dr-xr-xr-x   1 root  wheel       512 Sep 21 20:21 proc
< drwxr-xr-x   3 root  wheel       512 Aug 14 20:58 pub
< drwxr-xr-x   9 root  wheel       512 Sep 21 20:01 root
< drwxr-xr-x   2 root  wheel      1536 Sep 20 08:34 sbin
< drwxr-xr-x   4 root  wheel       512 Sep 20 15:37 stand
< lrwxr-xr-x   1 root  wheel        11 Sep 20 08:27 sys -> usr/src/sys
< lrwxr-xr-x   1 root  wheel         8 Sep 13 18:11 tmp -> /usr/tmp
< drwxr-xr-x  22 root  wheel       512 Sep 21 20:06 usr
< drwxr-xr-x  22 root  wheel       512 Sep 16 21:36 var
---
> total 6032
> drwxr-xr-x  22 root  wheel      512 Aug 15 15:17 .
> drwxr-xr-x  22 root  wheel      512 Sep 21 20:16 ..
> -rw-r--r--   1 root  wheel      407 Feb 15  1999 .cshrc
> -rw-r--r--   1 root  wheel      203 Feb 15  1999 .profile
> -r--r--r--   1 root  wheel     3480 Feb 15  1999 COPYRIGHT
> drwxr-xr-x   2 root  wheel      512 Jun 27 20:22 bin
> drwxr-xr-x   3 root  wheel      512 Jun 27 20:31 boot
> drwxr-xr-x   2 root  wheel      512 May 14 18:18 cdrom
> lrwxr-xr-x   1 root  wheel       11 May 14 18:38 compat -> /usr/compat
> drwxr-xr-x   3 root  wheel     9728 Sep  6 10:43 dev
> drwxr-xr-x   2 root  wheel      512 May 14 18:19 dist
> drwxr-xr-x   2 root  wheel      512 Jun  6 23:05 drive_c
> drwxr-xr-x  14 root  wheel     2048 Aug 15 08:11 etc
> drwxr-xr-x   2 root  wheel      512 Aug  1 15:31 floppy
> lrwxrwxrwx   1 root  wheel        9 May 14 23:35 home -> /usr/home
> -r-xr-xr-x   1 root  wheel  1930746 Jun 27 21:30 kernel
> -rwxr-xr-x   1 root  wheel  2236663 Feb 15  1999 kernel.GENERIC
> -rw-r--r--   1 root  wheel      130 May 14 18:37 kernel.config
> -r-xr-xr-x   1 root  wheel  1930426 Jun 27 17:32 kernel.old
> drwxr-xr-x   2 root  wheel      512 Feb 15  1999 lkm
> drwxr-xr-x   2 root  wheel      512 Feb 15  1999 mnt
> drwxr-xr-x   2 root  wheel     1024 Jun 27 20:31 modules
> drwxr-xr-x   2 root  wheel      512 May 17 23:24 msdos
> dr-xr-xr-x   2 root  wheel      512 Feb 15  1999 proc
> drwxr-xr-x   3 root  wheel      512 Jul 22 23:08 pub
> drwxr-xr-x   7 root  wheel      512 Aug 15 15:14 root
> drwxr-xr-x   2 root  wheel     1536 Jun 27 20:29 sbin
> drwxr-xr-x   4 root  wheel      512 Jun 27 21:20 stand
> lrwxr-xr-x   1 root  wheel       11 Jun 27 20:19 sys -> usr/src/sys
> drwxrwxrwt   2 root  wheel      512 Sep  6 10:43 tmp
> drwxr-xr-x   2 root  wheel      512 May 14 18:18 usr
> drwxr-xr-x   2 root  wheel      512 May 14 18:18 var



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?99092120341500.05302>