재부팅 후 PowerFlex 파일 시스템이 인식되지 않음

Summary: 재부팅 후 파일 시스템이 손상되었거나 존재하지 않습니다.

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

시나리오

  • ScaleIO 디바이스(scinia, sinib,...)에 파일 시스템 생성
  • /dev/scinia에 파일 시스템을 마운트합니다.
  • 서버 재부팅 

증상

재부팅 후 사용자는 파일 시스템을 마운트할 수 없습니다.

 

서버가 재부팅을 완료했을 때 파일 시스템을 마운트하거나 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 

/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

 

영향

파일 시스템이 사용할 수 없고 손상된 것 같습니다.

Cause

재부팅 후 Linux가 나타나면 장치 스캔을 시작하고 순서에 따라 장치에 자동으로 문자를 할당합니다 (먼저 첫 번째 문자를 찾습니다). 일반적으로 사용자가 아무 것도 변경하지 않으면 재부팅 후 장치에 동일한 장치 이름이 표시되지만 때로는 장치 이름이 변경되어 다른 장치에 할당될 수 있습니다.

사용자가 파일 시스템을 장치의 UUID가 아닌 /dev/sciniX에 마운트한 경우 파일 시스템이 손상되었다고 생각할 수 있지만 다른 장치 이름에 할당됩니다. 이는 Linux 문제이며 ScaleIO에만 해당되는 것이 아닙니다. 

 

예: 사용자는 10 개의 장치를 가지고 있었고 5 개로 줄이고 하루 만에 재부팅했습니다. scinia에 할당된 장치가 나중에 다른 장치에 할당된 것을 볼 수 있습니다. 

17(장치 10개에서 5개로 축소 후)

서버-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

현재: 예: 18일 재부팅 후 FS(File System)가 "사라짐"

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

해결 방법

 마운트에 UUID를 사용하도록 요청합니다.

 예: 디바이스 이름이 아니라 디바이스 UUID를 사용하여 볼륨을 매핑해야 합니다.

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

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.