[opensuse-factory] Do not install grub on reiserfs
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ...because s2disk will fail to thaw the system or be very, very slow about it. I don't know why, but it appears to be a known issue (not to me). (Bug 538795) - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkq6dkUACgkQtTMYHG2NR9UtTwCfem7it/ha3OhnIw/59kFBVp3L q+MAnjZ4+6iV0Zx0XDULxxfNaiWc8f8R =XIue -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On 23/09/09 15:25, Carlos E. R. wrote:
...because s2disk will fail to thaw the system or be very, very slow about it.
Just use ext4 ;-) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2009-09-23 at 16:57 -0400, Cristian Rodríguez wrote:
On 23/09/09 15:25, Carlos E. R. wrote:
...because s2disk will fail to thaw the system or be very, very slow about it.
Just use ext4 ;-)
You do so. I'm not that adventurous with my data. >:-) - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkq6kywACgkQtTMYHG2NR9UyxACghjC2mSi66p1aQEWX2f4QWREg bZMAnRIAooEmobG6NXwKZGdC8Zl5A5TD =ulV0 -----END PGP SIGNATURE-----
On 09/23/2009 02:29 PM, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wednesday, 2009-09-23 at 16:57 -0400, Cristian Rodríguez wrote:
On 23/09/09 15:25, Carlos E. R. wrote:
...because s2disk will fail to thaw the system or be very, very slow about it.
Just use ext4 ;-)
You do so. I'm not that adventurous with my data. >:-)
ReiserFS hasn't really changed and neither has grub. Rafael's diagnosis in the bugzilla entry is probably right though. It's probably replaying the journal, which really just means traversing it and building a mapping table. It doesn't actually write anything. The big problem to figure out is why it's leaving loads of open transactions open in the journal for an operation that should be "clean." -Jeff -- Jeff Mahoney SuSE Labs -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
At Wed, 23 Sep 2009 17:52:38 -0700, Jeff Mahoney wrote:
On 09/23/2009 02:29 PM, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wednesday, 2009-09-23 at 16:57 -0400, Cristian Rodríguez wrote:
On 23/09/09 15:25, Carlos E. R. wrote:
...because s2disk will fail to thaw the system or be very, very slow about it.
Just use ext4 ;-)
You do so. I'm not that adventurous with my data. >:-)
ReiserFS hasn't really changed and neither has grub. Rafael's diagnosis in the bugzilla entry is probably right though. It's probably replaying the journal, which really just means traversing it and building a mapping table. It doesn't actually write anything. The big problem to figure out is why it's leaving loads of open transactions open in the journal for an operation that should be "clean."
IIRC, it's just a long-standing issue of reiserfs support in GRUB. After S2D, it's still not 100% "clean" as GRUB believes, so it replays journal. The best solution would be to fix/improve GRUB, but this would happen unlikely. A classical solution is to create only a small /boot partition with ext2 or ext3 and the rest with reiserfs. Takashi -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Content-ID: <alpine.LSU.2.00.0909242054411.5038@nimrodel.valinor> On Thursday, 2009-09-24 at 08:57 +0200, Takashi Iwai wrote:
At Wed, 23 Sep 2009 17:52:38 -0700, Jeff Mahoney wrote:
ReiserFS hasn't really changed and neither has grub. Rafael's diagnosis in the bugzilla entry is probably right though. It's probably replaying the journal, which really just means traversing it and building a mapping table. It doesn't actually write anything. The big problem to figure out is why it's leaving loads of open transactions open in the journal for an operation that should be "clean."
Notice that the problem I reported is grub being very slow in loading the kernel. Once the the initial kernel starts booting, it boots fast, it sees the loaded swap partition and reload the swapped out system, fast. You can watch the sequence in the video I recorded. And the weird thing with your explanation is that grub should not replay the log, should it? I thought that was something reserved for reiserfsck during init?
IIRC, it's just a long-standing issue of reiserfs support in GRUB. After S2D, it's still not 100% "clean" as GRUB believes, so it replays journal.
Can grub replay the journal? :-?
The best solution would be to fix/improve GRUB, but this would happen unlikely. A classical solution is to create only a small /boot partition with ext2 or ext3 and the rest with reiserfs.
Yes, that is what I'll try this weekend, time permitting: I'll move /boot to a separate ext2 partition (which I have available) and report back; I just wanted to warn people using reiserfs as root filesystem that there may be problems. And IMO, YaST should warn. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkq7w2MACgkQtTMYHG2NR9WdQACePdbM63W1T2hlT9D3XcShCc/Y tKgAmwRq7nB0Nrq+3DvB7EHw20WSjHFU =2kXl -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On 09/24/2009 12:07 PM, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Content-ID: <alpine.LSU.2.00.0909242054411.5038@nimrodel.valinor>
On Thursday, 2009-09-24 at 08:57 +0200, Takashi Iwai wrote:
At Wed, 23 Sep 2009 17:52:38 -0700, Jeff Mahoney wrote:
ReiserFS hasn't really changed and neither has grub. Rafael's diagnosis in the bugzilla entry is probably right though. It's probably replaying the journal, which really just means traversing it and building a mapping table. It doesn't actually write anything. The big problem to figure out is why it's leaving loads of open transactions open in the journal for an operation that should be "clean."
Notice that the problem I reported is grub being very slow in loading the kernel. Once the the initial kernel starts booting, it boots fast, it sees the loaded swap partition and reload the swapped out system, fast. You can watch the sequence in the video I recorded.
And the weird thing with your explanation is that grub should not replay the log, should it? I thought that was something reserved for reiserfsck during init?
IIRC, it's just a long-standing issue of reiserfs support in GRUB. After S2D, it's still not 100% "clean" as GRUB believes, so it replays journal.
Can grub replay the journal? :-?
It doesn't replay it in the sense you're thinking. It scans it and creates a block mapping, so it gets the effect of replaying the journal but in a read-only manner. So, say block 100000 would be overwritten at journal replay, we'd redirect the read of that block to the newest copy of it in the journal. We *have* to do this. That's the entire point of a journaling file system - otherwise, grub could end up trying to read incomplete metadata.
The best solution would be to fix/improve GRUB, but this would happen unlikely. A classical solution is to create only a small /boot partition with ext2 or ext3 and the rest with reiserfs.
Yes, that is what I'll try this weekend, time permitting: I'll move /boot to a separate ext2 partition (which I have available) and report back; I just wanted to warn people using reiserfs as root filesystem that there may be problems.
And IMO, YaST should warn.
The real issue is in the kernel, IMO. s2disk should be flushing the journal. We have ways of doing that so (without having looked at the suspend code), it should be possible to do. -Jeff -- Jeff Mahoney SuSE Labs -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday, 2009-09-25 at 07:42 -0700, Jeff Mahoney wrote:
On 09/24/2009 12:07 PM, Carlos E. R. wrote:
...
Can grub replay the journal? :-?
It doesn't replay it in the sense you're thinking. It scans it and creates a block mapping, so it gets the effect of replaying the journal but in a read-only manner. So, say block 100000 would be overwritten at journal replay, we'd redirect the read of that block to the newest copy of it in the journal.
Ah! Now I understand. Thank you for that explanation.
We *have* to do this. That's the entire point of a journaling file system - otherwise, grub could end up trying to read incomplete metadata.
Yes, of course :-)
The real issue is in the kernel, IMO. s2disk should be flushing the journal. We have ways of doing that so (without having looked at the suspend code), it should be possible to do.
Time permitting, I guess ;-) - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkq9G/gACgkQtTMYHG2NR9XQ4wCfY3SDqZnFZDJHs7j0nr/w62XL lVwAn3n0pCmwk0sE5ZHzvfCrdWp14sjB =qoNj -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2009-09-23 at 21:25 +0200, Carlos E. R. wrote:
...because s2disk will fail to thaw the system or be very, very slow about it.
I don't know why, but it appears to be a known issue (not to me).
(Bug 538795)
Those that install / on reiserfs need a separate /boot partition on ext2. It works, I just tested it and hibernation/thawing works. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkq9Xg8ACgkQtTMYHG2NR9UW8gCeMF7d9vFTUGDe9K5V+4ygMAM1 fKgAoJFJzxy65WAX02y9B8gqfpy6zcz0 =RFzQ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (4)
-
Carlos E. R.
-
Cristian Rodríguez
-
Jeff Mahoney
-
Takashi Iwai