System plików PowerFlex nie jest rozpoznawany po ponownym uruchomieniu

Summary: System plików jest uszkodzony lub nie występuje po ponownym uruchomieniu.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Scenariusz

  • Utwórz system plików na urządzeniu ScaleIO (scinia, sinib,...)
  • Zamontuj system plików na /dev/scinia
  • Uruchom ponownie serwer 

Objawy

Po ponownym uruchomieniu użytkownik nie może zamontować systemu plików.

 

Po ponownym uruchomieniu serwera nie udało mi się zamontować systemu plików ani naprawić go za pomocą fsck.

# mount /dev/scinia /mnt
mount: you must specify the filesystem type
# mount -t ext4 /dev/scinia /mnt
mount: wrong fs type, bad option, bad superblock on /dev/scinia,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try

       dmesg | tail  or so



# fsck /dev/scinia
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
fsck.ext4: Superblock invalid, trying backup blocks...
fsck.ext4: Bad magic number in super-block while trying to open /dev/scinia

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:   e2fsck -b 8193 

#  e2fsck -b 8193 /dev/scinia
e2fsck 1.41.12 (17-May-2010)
e2fsck: Bad magic number in super-block while trying to open /dev/scinia

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:

       e2fsck -b 8193 <device>not 

Z /var/log/messages:

[Reboot occurred here]

Dec 18 13:15:48 e8c4-dl360g7-01 kernel: ECS R1_20:Created device scinia (16,0). Capacity 33554432 LB
Dec 18 13:15:48 e8c4-dl360g7-01 kernel: scinia: unknown partition table
Dec 18 13:25:21 e8c4-dl360g7-01 kernel: EXT4-fs (scinia): VFS: Can't find ext4 filesystem
Dec 18 13:26:58 e8c4-dl360g7-01 kernel: EXT4-fs (scinia): VFS: Can't find ext4 filesystem
Dec 18 13:27:11 e8c4-dl360g7-01 kernel: EXT4-fs (scinia): VFS: Can't find ext4 filesystem
Dec 18 13:28:30 e8c4-dl360g7-01 kernel: EXT4-fs (scinia): VFS: Can't find ext4 filesystem
Dec 18 13:33:26 e8c4-dl360g7-01 kernel: EXT4-fs (scinia): VFS: Can't find ext4 filesystem
Dec 18 13:34:07 e8c4-dl360g7-01 kernel: EXT4-fs (scinia): VFS: Can't find ext4 filesystem
Dec 18 16:11:00 e8c4-dl360g7-01 kernel: ECS R1_20:Created device scinia (16,0). Capacity 33554432 LB
Dec 18 16:11:00 e8c4-dl360g7-01 kernel: scinia: unknown partition table
Dec 18 16:11:00 e8c4-dl360g7-01 kernel: EXT4-fs (scinia): VFS: Can't find ext4 filesystem

 

Wpływ

System plików wygląda na bezużyteczny i uszkodzony.

Cause

Gdy Linux pojawia się po ponownym uruchomieniu, rozpoczyna skanowanie urządzeń i automatycznie przypisuje litery do urządzenia według kolejności (najpierw znajdzie - pobierz pierwszą literę). Zwykle, gdy użytkownik nic nie zmieni, po ponownym uruchomieniu urządzenia wymyślą tę samą nazwę urządzenia, jednak czasami nazwa urządzenia może się zmienić i zostać przypisana do innego urządzenia.

Jeśli użytkownik zamontował swój system plików w /dev/sciniX, a nie w UUID urządzenia, może pomyśleć, że system plików jest uszkodzony, ale jest przypisany do innej nazwy urządzenia. Jest to problem z systemem Linux i nie tylko związany ze ScaleIO. 

 

Przykład: Użytkownik miał 10 urządzeń, następnie zmniejszył je do 5 i wykonał restart dopiero dzień później. Widać, że urządzenie, które zostało przypisane do scinia, zostanie później przypisane do innego urządzenia. 

17(po zmniejszeniu z 10 do 5 urządzeń)

Na serwerze-01

# ls -l /dev/disk/by-id/scaleio*

lrwxrwxrwx 1 root root 12 Dec 17 12:00 /dev/disk/by-id/scaleio-vol-376584c0169c4216-49ff9f7a0000000c -> ../../scinij
lrwxrwxrwx 1 root root 12 Dec 17 12:00 /dev/disk/by-id/scaleio-vol-376584c0169c4216-49ff9f7b0000000d -> ../../scinib
lrwxrwxrwx 1 root root 12 Dec 17 12:00 /dev/disk/by-id/scaleio-vol-376584c0169c4216-49ff9f7c0000000e -> ../../scinii
lrwxrwxrwx 1 root root 12 Dec 17 12:00 /dev/disk/by-id/scaleio-vol-376584c0169c4216-49ff9f7d0000000f -> ../../scinia
lrwxrwxrwx 1 root root 12 Dec 17 12:00 /dev/disk/by-id/scaleio-vol-376584c0169c4216-49ff9f7e00000010 -> ../../scinih

Teraz: tj. po restarcie 18-go, gdy File System (FS) "zniknął"

ls -l /dev/disk/by-id/scaleio*

lrwxrwxrwx 1 root root 12 Dec 19 10:51 /dev/disk/by-id/scaleio-vol-376584c0169c4216-49ff9f7a0000000c -> ../../scinia
lrwxrwxrwx 1 root root 12 Dec 19 10:24 /dev/disk/by-id/scaleio-vol-376584c0169c4216-49ff9f7b0000000d -> ../../scinid
lrwxrwxrwx 1 root root 12 Dec 19 10:24 /dev/disk/by-id/scaleio-vol-376584c0169c4216-49ff9f7c0000000e -> ../../scinic
lrwxrwxrwx 1 root root 12 Dec 19 10:24 /dev/disk/by-id/scaleio-vol-376584c0169c4216-49ff9f7d0000000f -> ../../scinie
lrwxrwxrwx 1 root root 12 Dec 19 10:33 /dev/disk/by-id/scaleio-vol-376584c0169c4216-49ff9f7e00000010 -> ../../scinib

Resolution

Obejście problemu

 Poproś użytkownika o użycie identyfikatora UUID do montowania.

 Przykład: Powinny mapować wolumin przy użyciu identyfikatora uuid urządzenia, a nie nazwy urządzenia:

ls /dev/disk/by-uuid/      to find out the UUID

Przykład wpisu fstab:

 UUID=<UUID> <mount point>      ext4 defaults,errors=remount-ro 0 1

Affected Products

PowerFlex rack, ScaleIO
Article Properties
Article Number: 000281262
Article Type: Solution
Last Modified: 05 Feb 2025
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.