You must specify a filesystem type error
I am utilizing LVM snapshots, and every once in a while I get this 'you must specify the filesystem type' error when trying to mount the volume:
$> ./snapshot.sh -s
lvremove -- doing automatic backup of volume group "datagrp" lvremove -- logical volume "/dev/datagrp/datasnap" successfully removed
lvcreate -- WARNING: the snapshot will be automatically disabled once it gets full lvcreate -- INFO: using default snapshot chunk size of 64 KB for "/dev/datagrp/datasnap" lvcreate -- doing automatic backup of "datagrp"
lvcreate -- logical volume "/dev/datagrp/datasnap" successfully created
mount: block device /dev/datagrp/datasnap is write-protected, mounting read-only
mount: you must specify the filesystem type
But it only happens once in a while. How can I rid myself of this issue? I am on SuSE Linux 7.2 (2.4.7-64GB-smp) with lvm 0.9.1 beta7.
Thanks,
Kenny Gorman
DBA
Hi, Kenny!
Kenny Gorman ([email protected]) wrote 33 lines:
Quoted 4 lines
I am utilizing LVM snapshots, and every once in a while I get this 'you must specify the filesystem type' error when trying to mount the volume:
mount: you must specify the filesystem type
Mount could not mount the FS.
Quoted 1 line
But it only happens once in a while.
So it's probably not an journalled FS (which needs a kernel-patch for online snapshots). What does the system log say? (dmesg, /var/log/messages or whereever)
Quoted 2 lines
How can I rid myself of this
issue? I am on SuSE Linux 7.2 (2.4.7-64GB-smp) with lvm 0.9.1 beta7.
You may want to upgrade your Kernel and LVM-Tools to 1.0.1... No guarantee that the snapshots will be any better, though.
-Wolfgang
See below:
Quoted 14 lines · Wolfgang Weisselberg
Hi, Kenny!
Kenny Gorman ([email protected]) wrote 33 lines:
Quoted 5 lines
I am utilizing LVM snapshots, and every once in a while I get this 'you must specify the filesystem type' error when trying to mount the volume:
mount: you must specify the filesystem type
Mount could not mount the FS.
Quoted 6 lines
Quoted 2 lines
But it only happens once in a while.
So it's probably not an journalled FS (which needs a kernel-patch for online snapshots). What does the system log say? (dmesg,
/var/log/messagesor whereever)
It's ReiserFS so it's journaled. Only once in a while to I get the error. Var log messages gives this error when I snapshot:
Dec 10 10:57:43 ino kernel: fatfs: bogus logical sector size 0 Dec 10 10:57:43 ino kernel: VFS: Can't find a valid MSDOS filesystem on dev 3a:01. Dec 10 10:57:44 ino kernel: reiserfs: checking transaction log (device 3a:01) ... Dec 10 10:57:44 ino kernel: Using r5 hash to sort names Dec 10 10:57:44 ino kernel: reiserfs: using 3.5.x disk format Dec 10 10:57:44 ino kernel: ReiserFS version 3.6.25
funny thing tho, it works just fine most of the time.
Quoted 7 lines
Quoted 4 lines
How can I rid myself of this issue? I am on SuSE Linux 7.2 (2.4.7-64GB-smp) with lvm 0.9.1 beta7.
You may want to upgrade your Kernel and LVM-Tools to 1.0.1... No guarantee that the snapshots will be any better, though.
Yea, I should. thx.