Phil Scarratt wrote:
Phil Scarratt wrote:
Hi all
I've got a raid (1+0) system which I formatted as JFS. It has worked
fine for weeks now. The power dropped out suddenly this morning whilst
reading from the RAID via NFS. On reboot, the RAID is empty - won't
mount. Complains about fs type, which, even if specified as JFS still
complains (wrong fs type, bad option, bad superblock on /dev/md2,
missing codepage or other error).
A hint for my own problem: it may have been caused by a badly configured
mdadm.conf file (and this may well be the first time the system was
rebooted since generating the mdadm.conf file).
Answering my own question: RTFM in 3 steps:
1. man mkfs.jfs and note that the jfs file system check utility is jfs_fsck
2. man jfs_fsck and then execute jfs_fsck /dev/md2
3. mount it
Hmmmm....someone feels like an idiot...
Fil
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html