LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 01-24-2011, 12:21 AM   #1
Tripsun
LQ Newbie
 
Registered: Jan 2011
Distribution: Arch Linux
Posts: 22

Rep: Reputation: 0
File system not clean after hibernate or suspend


Hello everyone,

I am running Arch with fluxbox and have run into some trouble when tryin to suspend/hibernate computer. I followed the arch wiki to set-up pm-utils (https://wiki.archlinux.org/index.php/Pm-utils). I included the recover=[swap drive] in my grub configuration. Whenever, I run either pm-hibernate or pm-suspend, however, I am greeted with less than kind messages on reboot.

Code:
Checking File Systems
.....(first couple are fine)
Reiserfs
Filesystem is NOT clean
Replaying journal: Trans replayed: mountid 47, transid 2301, desc 4815, len 25, commit 4841, next trans offset 4824
....
....
.... (repeat nearly identical messages 17 times)
Replaying journals: Done
Reiserfs journal: '/dev/sda6' in blocks [18..8211]: 18 tranactions replayed
Somethins is going wrong when the disk is suspending and the filesystem is not liking it. Does anyone know what may be causing this and have any suggestions on what to do?

Thank you very much.
 
Old 01-24-2011, 06:56 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Quote:
Originally Posted by Tripsun View Post
Code:
Checking File Systems
.....(first couple are fine)
Somethins is going wrong when the disk is suspending and the filesystem is not liking it. Does anyone know what may be causing this and have any suggestions on what to do?
Are those other functioning systems Reiser as well? I suspect not and that would be the (probable) cause. Reiser development is defunct for all I know and Hans Reiser had issues with the kernel maintainers over his file system implementation.

You might try to copy your Reiser data to an other partition with a different file system and disable Reiser in /etc/fstab for the next reboot to see whether the problem is gone.

Last edited by JZL240I-U; 01-24-2011 at 06:58 AM.
 
Old 01-24-2011, 11:13 AM   #3
Tripsun
LQ Newbie
 
Registered: Jan 2011
Distribution: Arch Linux
Posts: 22

Original Poster
Rep: Reputation: 0
Thank you for your response. I used ReseirFS after it was suggested in the ARCH install for the /var partition due to its ability to handle small files well. The current setup of my partition is /boot, /, /home, /usr, /tmp all using ext3; /var using reiserfs; and swap. Would you suggest that I switch /var to something like ext4 or JFS since you seem to be right that development has switched to reiser4?

Last edited by Tripsun; 01-24-2011 at 01:59 PM.
 
Old 01-25-2011, 02:29 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
I'd suggest you test it just as I already suggested in my first post. As I understand the situation, it is not really clear that the ReiserFS is the true cause, it's just probably so. Insofar it doesn't really matter what FS you use, though I'd personally prefer ext4. AFAIK Reiser4 is not truly in development as Hans Reiser is serving a sentence in jail.
 
Old 02-04-2011, 05:33 PM   #5
Tripsun
LQ Newbie
 
Registered: Jan 2011
Distribution: Arch Linux
Posts: 22

Original Poster
Rep: Reputation: 0
Hi JZL240I-U,

Sorry I am responding about a week late. I have been extremely busy with schoolwork. I am rather new to linux (only about 2 months on ubuntu to learn basics, before going to arch). I have chosen a more difficult distro to push myself and learn quicker. But I unfortunately don't have any experience with what you are asking me to do. /dev/sda6 (reiserfs) holds my /var folder (which includes the files for pacman). Where should I move this and how would I disable it in fstab (am I supposed to just move it inside of another partition (for example, /tmp)? Thanks for your understanding as I am still learning.

Edit: As an aside, I asked this on the arch forums, where I did not receive any reponses from people who knew what was going on. One person did say that he had the same setup (with all ext3 and reiserfs for /var) and pm-suspend was working correctly for him. The arch installation guide suggests that /var be reiserfs since it is good at handling small file, which is what all the pacman (package manager) files are. This obviously doesn't mean that reiserfs may not be the source of my issues, but interesting to note nontheless.

Last edited by Tripsun; 02-04-2011 at 05:36 PM.
 
Old 02-11-2011, 04:02 AM   #6
kgas
LQ Newbie
 
Registered: Nov 2008
Location: Middle East
Distribution: Arch Linux
Posts: 13

Rep: Reputation: Disabled
have you got resume in your hooks (mkinitcpio.conf). If not create a boot image with that.
 
Old 02-14-2011, 05:10 AM   #7
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Sorry to answer late, have been out of town myself, too.

So: What I suggest depends a little from your machine. a) If you have a free partition format it with e.g. ext4 and copy over the entire contents of /var or, alternatively b) copy /var to your / (that is your file system "root").

Depending on those first steps open your /etc/fstab in your favourite editor. If a) copy the line with
Code:
/dev/sdxy /var ...
and change the partition name and file system type as needed. If b) just comment the line like this:
Code:
#/dev/sda6 /var ...
HTH.

Last edited by JZL240I-U; 02-14-2011 at 05:12 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
File system not clean after hibernate or suspend Tripsun Linux - Kernel 1 01-26-2011 10:01 PM
[SOLVED] Can't suspend or hibernate 0zMe Slackware 5 06-27-2010 01:43 PM
Need to suspend or hibernate fletcher08 Linux - Newbie 1 04-18-2010 10:24 AM
how grub knows there is a system in suspend/hibernate state ? marozsas Linux - General 9 07-27-2009 02:35 PM
how to detect system power event(user trigger),suspend,hibernate,resume...? minge.zu Linux - Desktop 1 02-11-2009 08:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 10:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration