Hi everyone,
I have a disk which has probably gone bad. I can mount it read only, but I can't mount it writable.
fsck_ffs(8) however coredumps:
Now I understand that the disk is probably bad, however, shouldn't fsck(8) say if it couldn't for example write to it, instead of crapping out?
Thanks.
I have a disk which has probably gone bad. I can mount it read only, but I can't mount it writable.
Code:
# mount /dev/ada2 /mnt/stuff
mount: /dev/ada2: R/W mount of /mnt/stuff denied. Filesystem is not clean - run fsck. Forced mount will invalidate journal contents: Operation not permitted
fsck_ffs(8) however coredumps:
Code:
# fsck_ffs -y /dev/ada2
** /dev/ada2
USE JOURNAL? yes
** SU+J Recovering /dev/ada2
** Reading 33554432 byte journal from inode 4.
RECOVER? yes
** Building recovery table.
** Resolving unreferenced inode list.
** Processing journal entries.
Segmentation fault (core dumped)
Now I understand that the disk is probably bad, however, shouldn't fsck(8) say if it couldn't for example write to it, instead of crapping out?
Thanks.