On 07/11/2017 10:21 PM, 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'.
Hi Istvan, Just out of curiosity, what filesystem is in use on the RAID device? I've seen exactly this problem with XFS. You can do this to check: file -sL /dev/md9 Manually loading xfsprogs with zypper (zypper in xfsprogs) on the newer Leap box fixed my problem. I hope running fsck on an unrecognized filesystem didn't bork things up! Regards, Lew -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org