新しく作成された論理ボリュームをマウントできません。

新しく作成された論理ボリュームをマウントできません。

既存のボリュームグループの下に論理ボリュームを作成しようとしましたが、次のエラーが原因で新しいLVをマウントできませんでした。

[root@host-xxxx ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_redhat601-LogVol00
                       29G  4.5G   23G  17% /
tmpfs                  16G   72K   16G   1% /dev/shm
/dev/vda5             190M   38M  143M  21% /boot
/dev/mapper/vg_redhat6-LogVol00
                       33G   48M   31G   1% /AMS

[root@host-xxxx ~]# vgdisplay vg_redhat6
  --- Volume group ---
  VG Name               vg_redhat6
  System ID             
  Format                lvm2
  Metadata Areas        2
  Metadata Sequence No  8
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               1
  Max PV                0
  Cur PV                2
  Act PV                2
  VG Size               70.96 GiB
  PE Size               4.00 MiB
  Total PE              18167
  Alloc PE / Size       8448 / 33.00 GiB
  Free  PE / Size       9719 / 37.96 GiB
  VG UUID               6YbIIs-OBJe-PGyV-Pwsl-VLGX-Jrf2-1SgJUZ

上記のように、vg_redhat6 VGにはまだ37.96Gの空き容量があります。だから私は15GサイズのLVを作ることにしました。

[root@host-xxxx ~]# lvcreate -L 15G -n LogVol01 vg_redhat6
  Logical volume "LogVol01" created.

[root@host-xxxx ~]# lvdisplay /dev/vg_redhat6/LogVol01
  --- Logical volume ---
  LV Path                /dev/vg_redhat6/LogVol01
  LV Name                LogVol01
  VG Name                vg_redhat6
  LV UUID                2FWKKM-mcbQ-RoCk-H2jc-0Jbt-nuha-KqYGtX
  LV Write Access        read/write
  LV Creation host, time host-135-249-45-28, 2016-04-08 14:44:00 +0530
  LV Status              available
  # open                 0
  LV Size                15.00 GiB
  Current LE             3840
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:3

関連LVでe2fsckを実行すると、次のエラーが表示されます。

[root@host-xxxx ~]# e2fsck /dev/vg_redhat6/LogVol01 e2fsck 1.41.12 (17-May-2010) e2fsck: Superblock invalid, trying backup blocks... e2fsck: Bad magic number in super-block while trying to open /dev/vg_redhat6/LogVol01

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>

上記のエラーのため、新しいLVをマウントできません。 Google でいくつかの検索を行いましたが、役に立つ提案が見つかりませんでした。以前この問題が発生したことがありますか?この問題を克服する方法を知っていますか?

ベストアンサー1

情報を保存できる空き容量のあるボリュームを作成しました。マウントされているのでマウントできません。ファイルシステム——情報構造。マウントすると、ファイルシステムがディレクトリに表示されます。

適切なコマンドを使用してmkfsボリュームにファイルシステムを作成します。たとえば、ext4ファイルシステムの作成(Linuxの事実上標準)実行(root)mkfs.ext4 /dev/vg_redhat6/LogVol01

おすすめ記事