Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

after hard reboot, filesystem mounts read only

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
Drewgrange
Guru
Guru
User avatar
Posts: 483
Joined: Sat Mar 29, 2003 9:38 pm
Location: Ohio, US

after hard reboot, filesystem mounts read only

  • Quote

Post by Drewgrange » Sat Apr 17, 2004 11:35 pm

I had a crash that required a hard boot. Afterwards, my /storage partition loads up as read only. I can't figure out whats wrong with it.

I can umount it and mount it again, and this will allow me to write something once as far as I've found,, and then it won't let me do anything again. Nothing about my fstab file has changed, and it worked fine in the past. Filestystem is reiserfs.

Any thoughts?
Top
Drewgrange
Guru
Guru
User avatar
Posts: 483
Joined: Sat Mar 29, 2003 9:38 pm
Location: Ohio, US

  • Quote

Post by Drewgrange » Sat Apr 17, 2004 11:58 pm

nautilus shows that the drive is set for read write execute permissions correctly. Set at 777. But it says that the disk itself is read only.
Top
speed_bump
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 92
Joined: Sat Jan 10, 2004 3:01 pm
Location: Wisconsin, USA

  • Quote

Post by speed_bump » Sun Apr 18, 2004 12:55 am

Have you checked to see if the fsck succeeded after the hard boot? Depending on filesystem type, an fsck may not be necessary, but judging from your description, it sounds as though that filesystem is at least somewhat corrupted. Mounting the filesystem read-only is typical behavior in these circumstances in order to avoid further corruption of the filesystem and possible loss of data.

You can unmount the filesystem, and run

reiserfsck /storage

Check the man page for options, but I'd do that before going too far. If nothing else, it will tell you that the filesystem is clean. Most likely, it will end up fixing a few things.

Hope this helps.

Best of luck.
Top
Drewgrange
Guru
Guru
User avatar
Posts: 483
Joined: Sat Mar 29, 2003 9:38 pm
Location: Ohio, US

  • Quote

Post by Drewgrange » Sun Apr 18, 2004 1:28 am

Actually I'm not sure why I said it is reiserfs, its a FAT32 drive that I share with windows and linux. What would I use to check that under linux?
Top
speed_bump
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 92
Joined: Sat Jan 10, 2004 3:01 pm
Location: Wisconsin, USA

  • Quote

Post by speed_bump » Sun Apr 18, 2004 2:32 am

I'm not quite sure. It's possible that fsck may be able to fix it, but that seems unlikely. However, it may be best to boot to windows and let checkdisk do its thing (I know, I know :-) ). If you can still read the filesystem, it's probably a wise idea to move any vital data to another partition (full backup is best) to avoid loss. Checkdisk should be OK, but much evil lurks in the heart of Redmond, so anticipating possible problems is well advised.
Top
Drewgrange
Guru
Guru
User avatar
Posts: 483
Joined: Sat Mar 29, 2003 9:38 pm
Location: Ohio, US

  • Quote

Post by Drewgrange » Sun Apr 18, 2004 8:08 pm

Norton's disk checker found a bunch of corrupted folders, and had to convert them each into a (useless) file. Oh well. Also the drive was 92% fragmented, don't know if that had anything to do with the corruption. Currently de-fragging, so I'm not sure if this will fix the problem of the drive being read only in linux, but it works fine under windows
Top
bdonlan
n00b
n00b
Posts: 44
Joined: Tue Jan 21, 2003 12:44 am

  • Quote

Post by bdonlan » Mon Apr 19, 2004 1:55 am

sys-fs/dosfstools has a fsck.vfat - that might help in the future.
Top
Drewgrange
Guru
Guru
User avatar
Posts: 483
Joined: Sat Mar 29, 2003 9:38 pm
Location: Ohio, US

  • Quote

Post by Drewgrange » Mon Apr 19, 2004 2:11 am

My filesystem got completely messed up. The defrag got stuck at 71% and now everything is random scrambled characters. I'm running a disk check/repair tool, and its going through every cluster saying "bad links in lost chain at cluster _____ corrected" .. obviously its taking a long time, I'm guessing that for a 160GB FAT 32 partition there are around 5 million clusters. Hopefully this fixes something.

Well, this has taught me that I need to start backing things up more often.
Top
bdonlan
n00b
n00b
Posts: 44
Joined: Tue Jan 21, 2003 12:44 am

  • Quote

Post by bdonlan » Mon Apr 19, 2004 2:26 am

Are you sure that the disk is physically sound? I'd do a surface check myself. Also, this time don't run a defrag until you run a disk check twice, it seems the first check missed something, and caused the defrag to corrupt things more.
Top
Drewgrange
Guru
Guru
User avatar
Posts: 483
Joined: Sat Mar 29, 2003 9:38 pm
Location: Ohio, US

  • Quote

Post by Drewgrange » Mon Apr 19, 2004 2:56 am

Well, the check made it through and did nothing, it said there were irrepairable errors on the disk. I had to format (losing 160 gigs of data :( recorded tv shows, 40 gigs worth of live music, other things best unsaid) and now it's working fine again.

Time to start rebuilding :roll:

Might be time to look into buying a DVD drive for some backups
Top
Post Reply

10 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic