LinHES Forums http://forums.linhes.org/ |
|
XFS formated /myth partition - manually run disk check? http://forums.linhes.org/viewtopic.php?f=21&t=20475 |
Page 1 of 1 |
Author: | graysky [ Wed Nov 04, 2009 2:59 pm ] |
Post subject: | XFS formated /myth partition - manually run disk check? |
I have an XFS formated /myth partition. Under R5.5, users needed to manually umount, check, and remount their xfs partitions (see this thread for a howto), I noticed that the R6 installer flagged my XFS /myth partition to be checked with my / partition. (You'll see this if you look in the /etc/fstab that R6 generates). My question: is this a bug or does R6 have XFS checks automated? My understanding is that fsck cannot and should not be used! One should use the built-in xfs_repair util. Please advise. Link to flyspray task: http://linhes.org/flyspray/index.php?do ... ask_id=568 |
Author: | graysky [ Mon Nov 09, 2009 1:27 pm ] |
Post subject: | |
Well, I forced a disk check (touch /forcefsck as root) and rebooted. My /dev/sda1 got checked (it's ext4) but my /dev/sda3 did not (it's XFS). Seems as though a line flew by saying something about check.xfs but it didn't appear to do any check. If one umounts /dev/sda3 and runs the xfs_repair util, that process takes a good 15 sec to complete. Since the line flew by faster than that, I'm assuming that no check took place. I modified my /etc/fstab entry for /dev/sda3 to read Code: /dev/sda3 /myth xfs defaults,allocsize=512m 0 0
The R6 installer had it flagged as "0 1" meaning it would get checked in the same round as my root filesystem. |
Author: | snaproll [ Sat Jan 01, 2011 4:17 pm ] |
Post subject: | |
Is XFS still recommended for the fs on a second drive /myth2 partition ? Or is ext4 the way to go for that now ? |
Author: | graysky [ Sat Jan 01, 2011 4:57 pm ] |
Post subject: | |
Depends on what you want. I'd stick w/ ext4 were I you. |
Author: | snaproll [ Sat Jan 01, 2011 7:55 pm ] |
Post subject: | |
Thanks. I had used XFS (per the wiki semi recommendation) [on the /myth2 drives] without any problems or provable performance gains... on two boxes each running two drives. I had also read somewhere that XFS needed some manual fsk maintenance, that I've never done... with no provable consequences so far [knock on wood] .... ![]() & I had further read that ext4 had less overhead with the journaling, so might be the way to go now... I am up for replacing a 500gb second drive with a 1tb, just for the halibut, and think ext4 is what I'll try on that one ! |
Author: | graysky [ Sun Jan 02, 2011 6:31 am ] |
Post subject: | |
http://knoppmyth.net/phpBB2/viewtopic.php?t=18601 http://knoppmyth.net/phpBB2/viewtopic.php?t=18595 |
Author: | snaproll [ Sun Jan 02, 2011 12:03 pm ] |
Post subject: | |
Thank You ! In my travels, I had managed to miss seeing both of those... but they're bookmarked now in my toolkit..... ![]() (I suppose I should have at the two machines that have long gone unchecked...) but I so like to let sleeping dogs lie ..... ![]() |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |