Re: external usb disk won't mount, error
e2fsck -b 32768
maybe add the -n
based on what you are seeing from the various commands, that's my guess.
Hey, if someone out there has done this, please don't hesitate to jump in.
Experience, even if limited, beats guessing from man pages any day.
Edit: not meaning to put you off, Telengard, but to be perfectly honest, I haven't had this problem, or done this fix before. So I'm slogging through the man pages as well, and learning a lot along the way. I guess I would want to at least try to find someone who has done this before I hit the final key on it. So maybe a post on the ubuntu forum is warranted -- they have a somewhat larger readership, and maybe someone there has actually done this, and knows where the landmines are. It's something I want to know how to do, too, so I'm following closely.
Edit further: I did some googling again, and found this:
http://www.cyberciti.biz/faq/recover...ted-partition/
(substitute e2fsck for fsck -- fsck is a frontend that calls e2fsck for ext file systems)
Problem here is I tried this on a usb drive I know is good, and the command
sudo e2fsck -b 32768 -n /dev/sdc2
produced a boatload of errors, while
sudo e2fsck /dev/sdc2
came up with no errors. So I don't know what's going on -- the file system I am checking is actually empty.
Also, there is a more involved procedure here:
http://kezhong.wordpress.com/2009/06...lock-recovery/
interestingly, this uses dd to copy one of the backup superblocks to the primary. Again, I'd sure hesitate on this one until I heard from someone who had successfully done it.
Sorry I can't offer definitive help, as I said, I'm here mostly to learn on this one.
e2fsck -b 32768
maybe add the -n
based on what you are seeing from the various commands, that's my guess.
Hey, if someone out there has done this, please don't hesitate to jump in.
Experience, even if limited, beats guessing from man pages any day.
Edit: not meaning to put you off, Telengard, but to be perfectly honest, I haven't had this problem, or done this fix before. So I'm slogging through the man pages as well, and learning a lot along the way. I guess I would want to at least try to find someone who has done this before I hit the final key on it. So maybe a post on the ubuntu forum is warranted -- they have a somewhat larger readership, and maybe someone there has actually done this, and knows where the landmines are. It's something I want to know how to do, too, so I'm following closely.
Edit further: I did some googling again, and found this:
http://www.cyberciti.biz/faq/recover...ted-partition/
(substitute e2fsck for fsck -- fsck is a frontend that calls e2fsck for ext file systems)
Problem here is I tried this on a usb drive I know is good, and the command
sudo e2fsck -b 32768 -n /dev/sdc2
produced a boatload of errors, while
sudo e2fsck /dev/sdc2
came up with no errors. So I don't know what's going on -- the file system I am checking is actually empty.
Also, there is a more involved procedure here:
http://kezhong.wordpress.com/2009/06...lock-recovery/
interestingly, this uses dd to copy one of the backup superblocks to the primary. Again, I'd sure hesitate on this one until I heard from someone who had successfully done it.
Sorry I can't offer definitive help, as I said, I'm here mostly to learn on this one.
Comment