Istvan Gabor wrote:
On Wed, 12 Jul 2017 12:37:20 +0200, Per Jessen wrote:
Istvan Gabor wrote:
On Wed, 12 Jul 2017 07:21:29 +0200, Per Jessen wrote:
Istvan Gabor wrote:
Hello:
I have several mdraid RAID1 (mirror) devices I used without problem in openSUSE 12.2. In openSUSE Leap 42.2 I can't mount some of the same raid devices.
In openSUSE 12.2 I can mount the raid device:
cat /proc/mdstat
md9 : active raid1 sdc9[1] sdb9[0] 31455164 blocks super 1.0 [2/2] [UU]
# mount /dev/md9 /mnt -o ro #
# df -h Filesystem Size Used Avail Use% Mounted on /dev/md9 30G 28G 364M 99% /mnt
In openSUSE Leap 42.2 I can't mount the same raid device:
cat /proc/mdstat
md9 : active raid1 sdc9[1] sdb9[0] 31455164 blocks super 1.0 [2/2] [UU]
# mount /dev/md9 /mnt -o ro mount: wrong fs type, bad option, bad superblock on /dev/md9, missing codepage or helper program, or other error
It probably doesn't really matter, but I've never seen the options added at the end, this is what I would do:
mount -o ro /dev/md9 /mnt
Otherwise, I would have said 'fsck'.
fsck in Leap 42.2:
# fsck -C -t ext3 /dev/md9 fsck from util-linux 2.28 e2fsck 1.42.11 (09-Jul-2014) The filesystem size (according to the superblock) is 7863809 blocks The physical size of the device is 7863791 blocks Either the superblock or the partition table is likely to be corrupt! Abort<y>? no /dev/md9 contains a file system with errors, check forced. Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information /dev/md9: 231713/1966080 files (2.5% non-contiguous), 7377653/7863809 blocks
filesystem size and physical size differ by 18 block.t Is this the reason it can't be mounted?
I presume you can mount it now?
Not in Leap 42.2, only in 12.2. fsck did not correct anything in my understanding or else it would have been reported.
fsck reported a filesystem with errors and you forced the check. As it appears to have completed with success, I would have thought you should be able to mount it. However, somehow your filesystem is reported to be bigger than the available space, that does sound like a problem. What does 'fsck' report in 12.2? It really ought to see the same discrepancy. -- Per Jessen, Zürich (23.5°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org