Gentoo Archives: gentoo-user

From: Tanstaafl <tanstaafl@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Help running fsck on reiserfs lvm /var on production server?
Date: Sat, 08 Jun 2013 21:37:43
Message-Id: 51B3A409.7050701@libertytrek.org
1 Hi everyone,
2
3 What is best practice for doing this?
4
5 If I reboot in single user mode, will my lvm volumes (ie, /var) be
6 available for fsck'ing, or do I have to mount them first?
7
8 The current problem started after a different problem required me to do
9 a hard reset on the server - had to do with a mounted QNAP device being
10 unavailable when I initiated a reboot, and everything just hung.
11
12 Ever since I did this hard reset, the server hangs at unmounting /var.
13 I've let it sit there for at least an hour, and it never goes past that.
14
15 Then after I hard reset it, it fsck's /var partition again, maybe fixes
16 minor problems very quickly, and everything works fine until I have to
17 reboot or shutdown again.
18
19 This became a major problem this weekend when we had one extended power
20 outage (about 8 hours) yesterday evening, then another one (about 4
21 hours) this morning right after I got everything back up and running
22 from last nights outage.
23
24 Anyway, I need to do this this weened if at all possible, so...
25
26 Anyone have any pointers to detailed docs and or willing to hold my hand
27 through this a little?
28
29 Thanks,
30
31 Charles

Replies

Subject Author
Re: [gentoo-user] Help running fsck on reiserfs lvm /var on production server? Alan McKinnon <alan.mckinnon@×××××.com>