Asked by Steve Rowse
Q. After reading your tip about superblock I am just wondering How do I mount file system with an alternative superblock (Linux ext3 file system).
A. Mount command by default use block 1. However you can force mount to use specific superblock. Use following syntax:
mount sb=alternative superblock. /dev/sdaX /mnt
OR
mount sb=alternative superblock. /dev/hdaX /mnt
Thus, if you want to use logical block 32768 on a filesystem with 4k blocks, use "sb=131072", type command as follows:
# mount sb=131072 /dev/hda2 /mnt
For more information see Surviving a Linux Filesystem Failures tip to determine alternative superblock
Featured Articles:
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- 10 Greatest Open Source Software Of 2009
- My 10 UNIX Command Line Mistakes
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- Top 20 OpenSSH Server Best Security Practices
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Linux Video Editor Software
- Email this to a friend
- Download PDF version
- Printable version
- Comment RSS feed
- Last Updated: Nov/15/2005


{ 3 comments… read them below or add one }
when does it use the commands
How do you find the alternate superblocks to use?
Use following syntax:
mount sb=alternative superblock. /dev/sdaX /mnt
OR
mount sb=alternative superblock. /dev/hdaX /mnt
Minor corrections in your examples, the “sb=alternative superblock” is an option in mount and thus it should be prefixed with the “-o” switch.
e.g. mount -o sb=alternative superblock. /dev/hdaX /mnt