Skip to contentSkip to conversation

reiserfsck does not work on LVM snapshots

DISCUSSION Vitaly Fertman 2 participants 2 messages Mar 23, 2004

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines · Christian Jaeger

Hello,

I noticed that one cannot reiserfsck lvm snapshot devices (and neither can we --check mounted partitions, sadly). Details below.

Thanks for any improvements,
Christian.

Quoted 7 lines

Debian testing,
reiserfsprogs 3.6.13-1
linux 2.4.25(kernel.org) + grsecurity 1.9.14 + vserver 1.3.8 athlon processor

# lvcreate --snapshot -L1G -n snap1  /dev/mirrorvg/mirrorroot
# reiserfsck --check --no-journal-available snap1

why do you use --no-journal-available?

Quoted 16 lines

reiserfsck 3.6.13 (2003 www.namesys.com)

*************************************************************
** If you are using the latest reiserfsprogs and it fails ** ** please email bug reports to [email protected], ** ** providing as much information as possible -- your ** ** hardware, kernel, patches, settings, all reiserfsck ** ** messages (including version), the reiserfsck logfile, ** ** check the syslog file for any related information. ** ** If you would like advice on using this program, support ** ** is available for $25 at www.namesys.com/support.html. **
*************************************************************

Will read-only check consistency of the filesystem on snap1 Will put log info to 'stdout'

Quoted 7 lines

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes Filesystem with default journal found, --no-journal-available is ignored ###########
reiserfsck --check started at Tue Mar 23 03:29:10 2004
###########

reiserfs_reopen: could not reopen device: Permission denied

you need write permissions to replay the journal.

Signature · 2 lines
Thanks,
Vitaly Fertman
#1 lore raw
Quoted 1 line · Vitaly Fertman

why do you use --no-journal-available?

It is going to be ignored anyway.

Quoted 1 line

you need write permissions to replay the journal.

That's why I tried --no-journal-available :)

Christian.