eriksays
12-11-2006, 03:11 PM
i have a second hard drive mounted under /mnt/hdb
i try to create new files on it and get "Cannot open: Read-only file system". how can i go about unlocking this filesystem so i can write files to it?
eriksays
12-11-2006, 03:36 PM
just to follow up, the /etc/fstab has mount options set to "defaults"
voidinit
12-11-2006, 04:02 PM
If the filesystem is being mounted read only, and you didn't request this, then there may be a filesystem or hardware error. Check /var/log/messages or dmesg to see if the filesystem or the disk is complaining.
Also, this may seem obvious, but the filesystem you are mounting may not have write support (i.e. iso9660 (cd format) or NTFS). In short, what type of filesystem is on the disk?
Also, are you mounting the entire drive? I mean, are you mounting /dev/hdb on /mnt/hdb or are you mounting /dev/hdb1 on /mnt/hdb?
Finally, if you are sure you have write support for the filesystem, and you are in fact mounting a partition and not the drive, and you aren't getting errors in messges or dmesg you can try:
mount -o remount,rw /mnt/hdb
eriksays
12-11-2006, 04:25 PM
voidinit: thanks for the help. remounting did the trick