みなさんすいません。長文失礼いたします。
今大学生で自分の学科の公開サーバを管理しているのですが、ユーザが増えてきて/homeの容量を拡大しようとしLVMのLVを/homeに割り当てていたので、lvresize -l 100000 /dev/mapper/ubuntu-homeを実行し拡大しようとしたのですが、成功したのか失敗したのかわからないまま/homeにマウントしようとしたら、エラーが出てマウントできませんでした。この場合はどのようにすればまたマウントできるようになるのでしょうか?
lvresize -l 100000 /dev/mapper/ubuntu-home
Mountした際
1ユーザ名@ホスト名:/etc$ sudo mount /dev/mapper/ubuntu-home /home 2[sudo] password for ユーザ名: 3sudo: unable to open /var/lib/sudo/ユーザ名/0: Read-only file system 4mount: wrong fs type, bad option, bad superblock on /dev/mapper/ubuntu-home, 5 missing codepage or helper program, or other error 6 In some cases useful info is found in syslog - try 7 dmesg | tail or so
ユーザ名@ホスト名:/etc$ dmesg | tail [129644.766467] EXT4-fs error (device dm-0) in ext4_da_write_end:2826: IO failure [130974.489529] EXT4-fs (dm-1): bad geometry: block count 117964800 exceeds size of device (22509568 blocks) [135445.393859] EXT4-fs (dm-1): bad geometry: block count 117964800 exceeds size of device (22509568 blocks) [164982.482002] EXT4-fs (dm-1): bad geometry: block count 117964800 exceeds size of device (22509568 blocks) [170023.666082] EXT4-fs (dm-1): bad geometry: block count 117964800 exceeds size of device (22509568 blocks) [170554.559099] EXT4-fs (dm-1): bad geometry: block count 117964800 exceeds size of device (22509568 blocks) [172534.412566] EXT4-fs error (device dm-0): ext4_remount:4815: Abort forced by user [173212.980048] EXT4-fs (dm-1): bad geometry: block count 117964800 exceeds size of device (22509568 blocks) [175076.747541] EXT4-fs error (device dm-0): ext4_remount:4815: Abort forced by user [176021.195792] EXT4-fs (dm-1): bad geometry: block count 117964800 exceeds size of device (22509568 blocks)
必要と思われる情報を載せておきます。
ユーザ名@ホスト名:/dev/mapper$ ls -al total 0 drwxr-xr-x 2 root root 120 Dec 3 15:46 . drwxr-xr-x 15 root root 4320 Dec 3 15:46 .. crw------- 1 root root 10, 236 Dec 1 13:44 control lrwxrwxrwx 1 root root 7 Dec 3 15:49 ubuntu-home -> ../dm-1 lrwxrwxrwx 1 root root 7 Dec 3 11:23 ubuntu-root -> ../dm-0 lrwxrwxrwx 1 root root 7 Dec 3 11:23 ubuntu-swap_1 -> ../dm-2
ユーザ名@ホスト名:/etc$ sudo pvdisplay [sudo] password for ユーザ名: sudo: unable to open /var/lib/sudo/ユーザ名/0: Read-only file system --- Physical volume --- PV Name /dev/sda5 VG Name ubuntu PV Size 558.13 GiB / not usable 2.00 MiB Allocatable yes PE Size 4.00 MiB Total PE 142882 Free PE 100089 Allocated PE 42793 PV UUID LFVBzS-LgHa-8zeu-XAGd-eLHy-Xe8O-LohJ1p
ユーザ名@ホスト名:/$ sudo vgdisplay [sudo] password for ユーザ名: sudo: unable to open /var/lib/sudo/ユーザ名/5: Read-only file system --- Volume group --- VG Name ubuntu System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 9 VG Access read/write VG Status resizable MAX LV 0 Cur LV 3 Open LV 2 Max PV 0 Cur PV 1 Act PV 1 VG Size 558.13 GiB PE Size 4.00 MiB Total PE 142882 Alloc PE / Size 42793 / 167.16 GiB Free PE / Size 100089 / 390.97 GiB VG UUID qtIko2-G54D-8pGv-qFPb-rCAC-Ak0Y-Ye5qAr
ユーザ名@ホスト名:/$ sudo lvdisplay [sudo] password for ユーザ名: sudo: unable to open /var/lib/sudo/ユーザ名/5: Read-only file system --- Logical volume --- LV Name /dev/ubuntu/root VG Name ubuntu LV UUID BLOo72-Jr9f-roTX-inAX-Iatd-Pk4J-bk0Eh6 LV Write Access read/write LV Status available # open 1 LV Size 66.39 GiB Current LE 16996 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 252:0 --- Logical volume --- LV Name /dev/ubuntu/home VG Name ubuntu LV UUID aLTEci-CGCH-62Hv-oPGP-2xIr-J2t2-bbDFsV LV Write Access read/write LV Status available # open 0 LV Size 85.87 GiB Current LE 21982 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 252:1 --- Logical volume --- LV Name /dev/ubuntu/swap_1 VG Name ubuntu LV UUID xPAZJ5-qkkJ-Nx3M-ZHPJ-Kn2u-AKXD-orqvsd LV Write Access read/write LV Status available # open 2 LV Size 14.90 GiB Current LE 3815 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 252:2
ユーザ名@utaipeics:/$ sudo fdisk -l [sudo] password for ユーザ名: sudo: unable to open /var/lib/sudo/ユーザ名/5: Read-only file system Disk /dev/sda: 599.6 GB, 599550590976 bytes 255 heads, 63 sectors/track, 72891 cylinders, total 1170997248 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00084603 Device Boot Start End Blocks Id System /dev/sda1 * 2048 499711 248832 83 Linux /dev/sda2 501758 1170995199 585246721 5 Extended /dev/sda5 501760 1170995199 585246720 8e Linux LVM Disk /dev/mapper/ubuntu-root: 71.3 GB, 71286390784 bytes 255 heads, 63 sectors/track, 8666 cylinders, total 139231232 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/mapper/ubuntu-root doesn't contain a valid partition table Disk /dev/mapper/ubuntu-home: 92.2 GB, 92199190528 bytes 255 heads, 63 sectors/track, 11209 cylinders, total 180076544 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/mapper/ubuntu-home doesn't contain a valid partition table Disk /dev/mapper/ubuntu-swap_1: 16.0 GB, 16001269760 bytes 255 heads, 63 sectors/track, 1945 cylinders, total 31252480 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/mapper/ubuntu-swap_1 doesn't contain a valid partition table

回答3件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2015/12/03 17:08
2015/12/03 23:54