Re: multiple alternate superblocks
On Wed, Jul 7, 2010 at 6:37 PM, Manish Katiyar wrote: > On 7/7/10, Onkar Mahajan wrote: >> Is it possible to supply multiple alternate superblocks >> while doing a mount in Linux ? If I got your question correctly, It is already being done that way automatically. Although kernel uses superblock in block group 0, the superblock is copied to rest of the block group in the file-system. So there are multiple copies of superblock, and in-case of corruption e2fsck can be instructed to use alternate superblock using the '-b' switch. > > Why would you want to do that ? What is the expected behavior in such cases ? I will second Manish here. What is that you want to achieve. Recover a bad ext2/3/4 ...?, create filesystem with with different options ? etc... Let us know. Thanks > > >> >> -Regards, >> Onkar >> >> -- >> >> >> Your work is going to fill a large part of your >> life, and the only way to be truly satisfied is >> to do what you believe is great work. And the >> only way to do great work is to love what >> you do. If you haven’t found it yet, keep >> looking, and don’t settle. As with all matters >> of the heart, you’ll know when you find it. >> - Steve Jobs >> >> > > > -- > Thanks - > Manish > == > [$\*.^ -- I miss being one of them > == > > -- > To unsubscribe from this list: send an email with > "unsubscribe kernelnewbies" to ecar...@nl.linux.org > Please read the FAQ at http://kernelnewbies.org/FAQ > > -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ
Re: multiple alternate superblocks
On 7/7/10, Onkar Mahajan wrote: > Is it possible to supply multiple alternate superblocks > while doing a mount in Linux ? Why would you want to do that ? What is the expected behavior in such cases ? > > -Regards, > Onkar > > -- > > > Your work is going to fill a large part of your > life, and the only way to be truly satisfied is > to do what you believe is great work. And the > only way to do great work is to love what > you do. If you haven’t found it yet, keep > looking, and don’t settle. As with all matters > of the heart, you’ll know when you find it. >- Steve Jobs > > -- Thanks - Manish == [$\*.^ -- I miss being one of them == -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ
Re: multiple alternate superblocks
On Wed, Jul 7, 2010 at 08:19, Onkar Mahajan wrote: > Is it possible to supply multiple alternate superblocks > while doing a mount in Linux ? I think your question might be interpreted vary between person to person. Do you mean, Linux kernel will use information according to multilple copy of superblock of a filesystem? If that's what you mean, IMO it's not...at least that's what I know. Even during fsck, you need to determine which superblock is the valid one that will be used as the base information. PS: Can't agree more with your quote...Steve Jobs is always one of my idol... -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ
multiple alternate superblocks
Is it possible to supply multiple alternate superblocks while doing a mount in Linux ? -Regards, Onkar -- Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work. And the only way to do great work is to love what you do. If you haven’t found it yet, keep looking, and don’t settle. As with all matters of the heart, you’ll know when you find it. - Steve Jobs