You are not logged in.

#1 2011-03-20 22:57:35

mencargo
Member
Registered: 2009-05-05
Posts: 58

[solved] Read-Only File System

I recently installed Arch with an SSD using ReiserFS.
I was optimizing my configuration and I came across SSD Tips that recommended the use of noatime and discard flags for the SSD, so I went ahead and add them, but it turns out that ReiserFS doesn't support discard, TRIM.
Now I'm stuck with a read-only file system that doesn't allow me to change the /etc/fstab, I'm unable to umount the device.

My /etc/fstab:

LABEL=arch / reiserfs defaults,noatime,discard 0 1

# mount -o remount,rw /
mount: / not mounted already, or bad option

# umount -t reiserfs /dev/sda1
# mount -t reiserfs /dev/sda1 /
mount: /dev/sda1 already mounted or / busy

How can I change the /etc/fstab?

From what I've read Btrfs and Ext4 are more suitable for SSD, is there a way to change the File System?

Last edited by mencargo (2011-03-21 05:32:41)

Offline

#2 2011-03-20 23:43:31

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,326

Re: [solved] Read-Only File System

I think that unmounting / would be a really bad thing.  I think you will need to reboot in order to apply fstab changes that impact /


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2011-03-20 23:56:17

mencargo
Member
Registered: 2009-05-05
Posts: 58

Re: [solved] Read-Only File System

That would be wonderful, but I cannot save changes to /etc/fstab, due to the fact that it's inside / and it's a read only fs because of the current fstab config....

Last edited by mencargo (2011-03-20 23:56:33)

Offline

#4 2011-03-21 00:04:19

Mustard
Member
From: Noblesville, Indiana
Registered: 2010-03-02
Posts: 39
Website

Re: [solved] Read-Only File System

Could you use a live CD to mount the drive and edit the fstab?

Offline

#5 2011-03-21 00:10:35

mencargo
Member
Registered: 2009-05-05
Posts: 58

Re: [solved] Read-Only File System

Downloading Arch Netinstall ISO, thanks!

Offline

#6 2011-03-21 00:50:06

mencargo
Member
Registered: 2009-05-05
Posts: 58

Re: [solved] Read-Only File System

Solved, thanks!

BTW, Is there a way to change reiserfs to ext4? I would like to have TRIM enabled..

Offline

Board footer

Powered by FluxBB