About nixCraft

Mounting with an alternative superblock

Posted by Vivek Gite [Last updated: November 15, 2005]

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

Want to stay up to date with the latest Linux tips, news and announcements? Subscribe to our free e-mail newsletter or RSS feed to get all updates. You can Email this page to a friend.

You may also be interested in other helpful articles:

Discussion on This Article:

  1. franklin Says:

    when does it use the commands

Leave a Reply

We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Copyright © 2004-2008 nixCraft. All rights reserved - TOS/Disclaimer - Privacy policy - Sitemap - Powered by Open source software.