You are not logged in.
Pages: 1
Hey
well basically ive done some reading and everythings said that adding noatime to ur fstab for the / folder can increase application/general responsiveness
but the only thing is my fstab doesnt look like everyone else's theres no /dev/sda1 etc
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/cdrom /media/cdrom auto ro,user,noauto,unhide 0 0
/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
UUID=56f324cd-d0fc-4634-87c6-980c4b07d726 swap swap defaults 0 0
UUID=b6e641d2-6187-4335-bc8f-8c25432809df / ext3 defaults 0 1
#usbfs
none /proc/bus/usb usbfs devgid=108,devmode=664 0 0
oh and im also wondering if there is an easy way to convert from ext3 to ext4 with out totally borking my system
because i do school work on here and dont want to have to reinstall all the apps and stuff once again
Thank you
Love Arch btw its been great coming from Ubuntu and OpenSUSE
Offline
See where it says "UUID=blah-blah-blah"? Look to the right of that. In your case, this line is:
UUID=b6e641d2-6187-4335-bc8f-8c25432809df / ext3 defaults 0 1
UUIDs are used to identify partitions instead of /dev/sd--. This is because the order of device nodes can change, whereas the UUID is static.
To use noatime, modify it like so:
UUID=b6e641d2-6187-4335-bc8f-8c25432809df / ext3 noatime 0 1
(I think.)
To use other options, just separate 'em with commas.
Last edited by Peasantoid (2009-04-29 20:23:03)
Offline
thnx Peasantoid
im use to Ubuntu and such where its /dev/sda and never saw UUIDs before
Offline
More info: You can retrieve UUIDs from volumes with the command "blkid /dev/..." where "..." is the device file. This MUST be done as root or nothing will happen. For example:
bash$ sudo blkid /dev/sda3
Note that I have sudo installed; you might not.
Last edited by Peasantoid (2009-04-29 20:51:56)
Offline
yea i have sudo installed and what not
but ive never really worked with the fstab before
On to the next thing
is there an easy way to convert from ext3 to ext4 without reinstall?
Offline
yea i have sudo installed and what not
but ive never really worked with the fstab beforeOn to the next thing
is there an easy way to convert from ext3 to ext4 without reinstall?
Hmmmm... Don't think so. If you can't find a solution, just copy all your files to an external drive/partition, reformat to ext4, and copy back.
After doing this, you will need to update /etc/fstab and /boot/grub/menu.lst with the partition's new UUID. Otherwise, your system will never finish starting up, since it waits endlessly for you to connect the now-nonexistent device with the root filesystem (the / directory) on it. You must also change the partition's type from ext3 to ext4 in fstab.
Also, a note on copying. You will need to preserve all metadata when doing it or your system will most likely not work properly. Use these commands:
Copying:
sudo cp -axv / /media/some-hard-drive
Restoring:
cd /media/some-hard-drive
sudo cp -axv . /
The -v option isn't necessary, but I recommend using it.
Last edited by Peasantoid (2009-04-29 20:51:11)
Offline
Pages: 1