On Sat, 2006-01-28 at 15:49 -0500, Jeffrey R. Born wrote: > During startup I am getting the following: > > Mounting local filesystems: mount: wrong fs type, bad option, bad > superblock on /dev/sda5 > missing codepage or other error > In some cases useful info is found in syslog - try > dmesg | tail
The file system was probably not unmounted cleanly at some point, and jfs will not mount the file system read-write unless the journal is replayed. Running fsck against the file system should replay the journal and mark the superblock clean. > I have not idea how to fix this, if any of the data is recoverable, > and generally what to do next? Try running fsck, and fix /etc/fstab (see below). > I’ve posted some information below in hopes that it will help someone > debug my problem. > Thanks for and advice, In case there is more to this, (such as fsck failing), you may be able to mount the file system read-only (mount -oro /var/video) to recover the data, but I suspect fsck will fix your problem. > cat /etc/fstab: > # This file is edited by fstab-sync - see 'man fstab-sync' for details > LABEL=/ / ext3 defaults 1 1 > LABEL=/boot /boot ext3 defaults 1 2 > /dev/devpts /dev/pts devpts gid=5,mode=620 0 0 > /dev/shm /dev/shm tmpfs defaults 0 0 > /dev/proc /proc proc defaults 0 0 > /dev/sys /sys sysfs defaults 0 0 > LABEL=SWAP-sda3 swap swap defaults 0 0 > /dev/sda5 /var/video jfs defaults 0 0 Change this line to: /dev/sda5 /var/video jfs defaults 0 2 When the last field is 0, it tells the system not to run fsck against the file system during boot. > /dev/hdc /media/cdrom auto pamconsole,exec,noauto,managed 0 0 -- David Kleikamp IBM Linux Technology Center ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Jfs-discussion mailing list Jfs-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jfs-discussion