Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-14-2008, 12:12 PM
|
#1
|
Senior Member
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534
Rep:
|
2.6.27 xfs root filesystem read only problem
Hi !
I upgraded my Slack 12.1 from 2.6.26.5 to 2.6.27, and my xfs / filesystem is now mounted as read-only because i have a read only error when i try to create something on it.
Weird thing : mount and cat /proc/mounts shows / is rw !!!
Wrong kernel (security) settings or new parameter missing ?
|
|
|
10-15-2008, 01:08 AM
|
#2
|
LQ Newbie
Registered: Oct 2008
Location: Cologne, Germany
Distribution: Gentoo
Posts: 6
Rep:
|
Hi.
Same problem here with Archlinux. E.g. I can create a directory, but can't do a chmod on it. And on boot many commands fail.
But it only concerns the root partitions, other xfs partitions with the same mount options are working.
I'm using the following mount options:
Code:
/dev/sda2 / xfs defaults,noatime,nodiratime,logbufs=8,nobarrier 0 1
Today I played a bit with the options and found a workaround. I removed all options except for defaults. After a reboot I had write access.
There is another problem with xfs, barriers handling in 2.6.27, but i think we discovered here something else.
Witi
|
|
|
10-16-2008, 04:21 AM
|
#3
|
LQ Newbie
Registered: Oct 2008
Location: Saarbrücken, Germany
Distribution: archlinux
Posts: 1
Rep:
|
Same problem here.
I use the same mount options as Witi, but "nobarrier" is missing.
Quote:
Originally Posted by Witi
Today I played a bit with the options and found a workaround. I removed all options except for defaults. After a reboot I had write access.
Witi
|
The workaround works for me too; thanks!
|
|
|
10-16-2008, 02:19 PM
|
#4
|
Senior Member
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534
Original Poster
Rep:
|
Be careful ! nobarrier is _not_ for production use. It makes xfs approx. 10 times faster, but any powerdown can corrupt the whole filesystem.
Stay tuned.
|
|
|
10-17-2008, 06:04 AM
|
#5
|
LQ Newbie
Registered: Oct 2008
Location: Cologne, Germany
Distribution: Gentoo
Posts: 6
Rep:
|
http://bugs.archlinux.org/task/11765
In Archlinux this bug seems to be fixed with the new kernel version 2.6.27.1. I can confirm this.
Quote:
Be careful ! nobarrier is _not_ for production use. It makes xfs approx. 10 times faster, but any powerdown can corrupt the whole filesystem.
|
no risk no fun.
No, you are right. But in production you should an UPS to prevent every powerdown.
|
|
|
10-19-2008, 06:42 AM
|
#6
|
Senior Member
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534
Original Poster
Rep:
|
Production means "non-experimental use", not exclusively "server use".
2.6.27.2 seems to fix our problem. Let's test !
|
|
|
10-19-2008, 02:52 PM
|
#7
|
Senior Member
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534
Original Poster
Rep:
|
Arr... don't works ! Always read-only.
It said /dev/tty not found.
|
|
|
10-24-2008, 07:03 PM
|
#8
|
Senior Member
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534
Original Poster
Rep:
|
2.6.27.3 solved this issue.
Thanks all, and thanks to kernel developers :^).
|
|
|
02-11-2009, 04:16 AM
|
#9
|
Senior Member
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534
Original Poster
Rep:
|
And now, with approx. 9 monthes testing, i can tell you that : don't use XFS on a workstation. This filesystem is too slow. I'm sure it rocks handling 1+ Tera files, but it's a pain on a desktop. I switched back to ext3/Reiserfs combo, et voila.
|
|
|
02-12-2009, 12:20 AM
|
#10
|
LQ Newbie
Registered: Oct 2008
Location: Cologne, Germany
Distribution: Gentoo
Posts: 6
Rep:
|
Well using the standard settings could be slower than other filesystem. Did you try to "tune" it?
|
|
|
02-12-2009, 02:50 AM
|
#11
|
Senior Member
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534
Original Poster
Rep:
|
Yes i did, resulting 50% of our computers unusable in case of crash or power failure :^D.
|
|
|
All times are GMT -5. The time now is 10:03 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|