filesystem problem resolved - /sbin/mount was causing it
Arie J. Gerszt
arie at gerszt.ch
Wed Mar 26 07:02:43 PST 2003
Hi Everybody
The problem cleared out. I now know what, but not why :) For those of you
interested.
I have a 2nd disk in the machine (ad3) which has a backup parition (ad3f).
This partition
is mounted to a mountpoint (guess: in root) to /mnt/vol1.
For strange reasons (who knows why?) mount fails (see below), therefor the
volume gets
not mounted and the backup sits in the mountpoint directory, filling up...
/.
Btw: I moved all /modules /sbin /bin to their right places back.
Now the mount fails as showed here. The backup partition is not mountalbe,
but another,
on the same disk, is...
caramba# mount /dev/ad3f /mnt/vol1
mount: /dev/ad3f: Operation not permitted
caramba# mount /dev/ad3f /backup/slice1
mount: /dev/ad3f: Operation not permitted
caramba#
here another partition:
caramba# mount
/dev/ad0s1a on / (ufs, local)
/dev/ad0s1e on /usr (ufs, local)
/dev/ad0s1g on /usr/www (ufs, local)
/dev/ad0s1f on /var (ufs, local)
procfs on /proc (procfs, local)
/dev/ad3e on /mnt/vol1 (ufs, local)
caramba# umount /mnt/vol1/
caramba#
the disklabel entry:
caramba# disklabel ad3
# /dev/ad3c:
type: ESDI
disk: ad3s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 31206
sectors/unit: 31456593
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
c: 31456593 0 unused 0 0 # (Cyl. 0 -
31206*)
e: 4194304 0 4.2BSD 1024 8192 16 # (Cyl. 0 -
4161*)
f: 12582912 4194304 4.2BSD 1024 8192 16 # (Cyl. 4161*-
16644*)
g: 12582912 16777216 4.2BSD 1024 8192 16 # (Cyl. 16644*-
29127*)
h: 2096465 29360128 4.2BSD 1024 8192 16 # (Cyl. 29127*-
31206*)
caramba#
--> no, i can stop backups for the moment, or repoint them to another
partition, e.g.
ad3g, but why does mount not work on that respectively give "operation not
permitted"?
Thanks
Arie
More information about the freebsd-questions
mailing list