Markus Egg said the following on 02/10/2013 07:04 AM:
Am 06/02/13 18:44, schrieb Anton Aylward:
[...]
FORGET (g)parted. Its an irrelevance now. Its only relevant if you are altering partition sizes or creating a new partition.
1. Go into single user mod. 2. Delete below /var/spool/news 3. Back up /var 4. unmount /var 5. Run mkfs.resiserfs on the /var/partition 6. Change the /var entry in /etc/fstab 7. Remount /var 8. Restore /var 9. Go to multi user mode 10 Start news [...]
Thanks very much, I will try this. Do I just have to change the type of the /var entry in /etc/fstab or additonally something else?
If, as you say, all you are doing is changing the FS type of the partition, then all you have to do is change the FStype entry for that partition in the fstab file before remounting[1]. If you are adding a partition, as I first thought, mistakenly it seems, then you would need to add an entry. But if you're not then you don't. Yes it really is that simple and straight forward. The important thing is to do it in single user mode - all those background processes disabled, otherwise you can't unmount /var. [1] If you don't the system will try mounting with the wrong FS type and that will fail and you'll end up running without /var mounted and that will cause a cascade of errors. -- Opportunities multiply as they are seized. --Sun Tzu -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org