daily pastebin goal
45%
SHARE
TWEET

ubuntu 14.01 - file system corruption(lvm)

nitegreen Apr 1st, 2016 (edited) 35 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@ubuntu:~# dmsetup resume root_vg-root
  2. device-mapper: resume ioctl on root_vg-root failed: Invalid argument
  3. Command failed
  4. root@ubuntu:~# dmsetup resume root_vg-root
  5. device-mapper: resume ioctl on root_vg-root failed: Invalid argument
  6. Command failed
  7. root@ubuntu:~# dmsetup info
  8. Name:              root_vg-root
  9. State:             SUSPENDED
  10. Read Ahead:        256
  11. Tables present:    None
  12. Open count:        0
  13. Event number:      0
  14. Major, minor:      252, 0
  15. Number of targets: 0
  16. UUID: LVM-2z70QAEyRN2uvNSb5hKk0brY8qrIfJA2eYiD8ovpnfIkCbmvySL24KJ2YCAeLzis
  17.  
  18. Name:              root_vg-swap_1
  19. State:             ACTIVE
  20. Read Ahead:        256
  21. Tables present:    LIVE
  22. Open count:        0
  23. Event number:      0
  24. Major, minor:      252, 1
  25. Number of targets: 1
  26. UUID: LVM-2z70QAEyRN2uvNSb5hKk0brY8qrIfJA2m0dtIkdziEWcnmPoRPb7rUyMFoCp6zqM
  27.  
  28. Name:              root_vg-lv_var_opt
  29. State:             ACTIVE
  30. Read Ahead:        256
  31. Tables present:    LIVE
  32. Open count:        0
  33. Event number:      0
  34. Major, minor:      252, 2
  35. Number of targets: 1
  36. UUID: LVM-2z70QAEyRN2uvNSb5hKk0brY8qrIfJA2bwcezdMwgUuVDLmnJtJ0EIb2x8A2C8U5
  37.  
  38. root@ubuntu:~# dmsetup resume root_vg-root
  39. device-mapper: resume ioctl on root_vg-root failed: Invalid argument
  40. Command failed
  41. root@ubuntu:~# pvs -a -v
  42.     Using physical volume(s) on command line.
  43.     Found same device /dev/sda5 with same pvid OgbrGhm632xfDN2LPzYOfVa92ltnGdAJ
  44.   PV                      VG      Fmt  Attr PSize   PFree  DevSize PV UUID                              
  45.   /dev/loop0                           ---       0      0    1.05g                                      
  46.   /dev/ram0                            ---       0      0   64.00m                                      
  47.   /dev/ram1                            ---       0      0   64.00m                                      
  48.   /dev/ram10                           ---       0      0   64.00m                                      
  49.   /dev/ram11                           ---       0      0   64.00m                                      
  50.   /dev/ram12                           ---       0      0   64.00m                                      
  51.   /dev/ram13                           ---       0      0   64.00m                                      
  52.   /dev/ram14                           ---       0      0   64.00m                                      
  53.   /dev/ram15                           ---       0      0   64.00m                                      
  54.   /dev/ram2                            ---       0      0   64.00m                                      
  55.   /dev/ram3                            ---       0      0   64.00m                                      
  56.   /dev/ram4                            ---       0      0   64.00m                                      
  57.   /dev/ram5                            ---       0      0   64.00m                                      
  58.   /dev/ram6                            ---       0      0   64.00m                                      
  59.   /dev/ram7                            ---       0      0   64.00m                                      
  60.   /dev/ram8                            ---       0      0   64.00m                                      
  61.   /dev/ram9                            ---       0      0   64.00m                                      
  62.   /dev/root_vg/lv_var_opt              ---       0      0  200.00g                                      
  63.   /dev/root_vg/swap_1                  ---       0      0   15.89g                                      
  64.   /dev/sda1                            ---       0      0  243.00m                                      
  65.   /dev/sda3                            ---       0      0  244.61g                                      
  66.   /dev/sda5               root_vg lvm2 a--  512.00g 56.10g 476.60g OgbrGh-m632-xfDN-2LPz-YOfV-a92l-tnGdAJ
  67.   /dev/sdb1                            ---       0      0    1.10g                                      
  68.   /dev/sdb2                            ---       0      0    2.22m                                      
  69. root@ubuntu:~#
  70.  
  71. @ubuntu:~# parted -l
  72. Model: ATA Samsung SSD 850 (scsi)
  73. Disk /dev/sda: 1000GB
  74. Sector size (logical/physical): 512B/512B
  75. Partition Table: msdos
  76. Disk Flags:
  77.  
  78. Number  Start   End     Size   Type      File system  Flags
  79.  1      1049kB  256MB   255MB  primary   ext2         boot
  80.  2      257MB   512GB   512GB  extended
  81.  5      257MB   512GB   512GB  logical                lvm
  82.  3      738GB   1000GB  263GB  primary   ext4
  83.  
  84.  
  85. Warning: The driver descriptor says the physical block size is 2048 bytes, but
  86. Linux says it is 512 bytes.
  87. Ignore/Cancel? I                                                          
  88. Model: PNY USB 2.0 FD (scsi)
  89. Disk /dev/sdb: 32.7GB
  90. Sector size (logical/physical): 2048B/512B
  91. Partition Table: mac
  92. Disk Flags:
  93.  
  94. Number  Start   End     Size    File system  Name   Flags
  95.  1      2048B   6143B   4096B                Apple
  96.  2      1167MB  1169MB  2327kB               EFI
  97.  
  98.  
  99. Model: Linux device-mapper (linear) (dm)
  100. Disk /dev/mapper/root_vg-lv_var_opt: 215GB
  101. Sector size (logical/physical): 512B/512B
  102. Partition Table: loop
  103. Disk Flags:
  104.  
  105. Number  Start  End    Size   File system  Flags
  106.  1      0.00B  215GB  215GB  ext4
  107.  
  108.  
  109. Model: Linux device-mapper (linear) (dm)
  110. Disk /dev/mapper/root_vg-swap_1: 17.1GB
  111. Sector size (logical/physical): 512B/512B
  112. Partition Table: loop
  113. Disk Flags:
  114.  
  115. Number  Start  End     Size    File system     Flags
  116.  1      0.00B  17.1GB  17.1GB  linux-swap(v1)
  117.  
  118.  
  119. @ubuntu:~# fdisk -l /dev/sda
  120. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  121. Units: sectors of 1 * 512 = 512 bytes
  122. Sector size (logical/physical): 512 bytes / 512 bytes
  123. I/O size (minimum/optimal): 512 bytes / 512 bytes
  124. Disklabel type: dos
  125. Disk identifier: 0x000d8608
  126.  
  127. Device     Boot      Start        End   Sectors   Size Id Type
  128. /dev/sda1  *          2048     499711    497664   243M 83 Linux
  129. /dev/sda2           501758 1000000000 999498243 476.6G  5 Extended
  130. /dev/sda3       1440530432 1953525167 512994736 244.6G 83 Linux
  131. /dev/sda5           501760  999999487 999497728 476.6G 8e Linux LVM
  132.  
  133. Partition table entries are not in disk order.
  134.  
  135. @ubuntu:~# pvdisplay
  136.   --- Physical volume ---
  137.   PV Name               /dev/sda5
  138.   VG Name               root_vg
  139.   PV Size               512.00 GiB / not usable 3.00 MiB
  140.   Allocatable           yes
  141.   PE Size               4.00 MiB
  142.   Total PE              131071
  143.   Free PE               14362
  144.   Allocated PE          116709
  145.   PV UUID               OgbrGh-m632-xfDN-2LPz-YOfV-a92l-tnGdAJ
  146.    
  147.  
  148. @ubuntu:~# vgdisplay
  149.   --- Volume group ---
  150.   VG Name               root_vg
  151.   System ID            
  152.   Format                lvm2
  153.   Metadata Areas        1
  154.   Metadata Sequence No  20
  155.   VG Access             read/write
  156.   VG Status             resizable
  157.   MAX LV                0
  158.   Cur LV                3
  159.   Open LV               1
  160.   Max PV                0
  161.   Cur PV                1
  162.   Act PV                1
  163.   VG Size               512.00 GiB
  164.   PE Size               4.00 MiB
  165.   Total PE              131071
  166.   Alloc PE / Size       116709 / 455.89 GiB
  167.   Free  PE / Size       14362 / 56.10 GiB
  168.   VG UUID               2z70QA-EyRN-2uvN-Sb5h-Kk0b-rY8q-rIfJA2
  169.    
  170.  
  171. @ubuntu:~# lvdisplay
  172.   --- Logical volume ---
  173.   LV Path                /dev/root_vg/root
  174.   LV Name                root
  175.   VG Name                root_vg
  176.   LV UUID                eYiD8o-vpnf-IkCb-mvyS-L24K-J2YC-AeLzis
  177.   LV Write Access        read/write
  178.   LV Creation host, time ubuntu, 2014-03-04 02:47:55 +0000
  179.   LV Status              suspended
  180.   # open                 0
  181.   LV Size                240.00 GiB
  182.   Current LE             61440
  183.   Segments               2
  184.   Allocation             inherit
  185.   Read ahead sectors     auto
  186.   - currently set to     256
  187.   Block device           252:0
  188.    
  189.   --- Logical volume ---
  190.   LV Path                /dev/root_vg/swap_1
  191.   LV Name                swap_1
  192.   VG Name                root_vg
  193.   LV UUID                m0dtIk-dziE-Wcnm-PoRP-b7rU-yMFo-Cp6zqM
  194.   LV Write Access        read/write
  195.   LV Creation host, time ubuntu, 2014-03-04 02:47:55 +0000
  196.   LV Status              available
  197.   # open                 0
  198.   LV Size                15.89 GiB
  199.   Current LE             4069
  200.   Segments               1
  201.   Allocation             inherit
  202.   Read ahead sectors     auto
  203.   - currently set to     256
  204.   Block device           252:1
  205.    
  206.   --- Logical volume ---
  207.   LV Path                /dev/root_vg/lv_var_opt
  208.   LV Name                lv_var_opt
  209.   VG Name                root_vg
  210.   LV UUID                bwcezd-MwgU-uVDL-mnJt-J0EI-b2x8-A2C8U5
  211.   LV Write Access        read/write
  212.   LV Creation host, time nimbus, 2015-03-18 03:39:40 +0000
  213.   LV Status              available
  214.   # open                 1
  215.   LV Size                200.00 GiB
  216.   Current LE             51200
  217.   Segments               1
  218.   Allocation             inherit
  219.   Read ahead sectors     auto
  220.   - currently set to     256
  221.   Block device           252:2
  222.    
  223.  
  224. @ubuntu:~# pvscan
  225.   PV /dev/sda5   VG root_vg   lvm2 [512.00 GiB / 56.10 GiB free]
  226.   Total: 1 [512.00 GiB] / in use: 1 [512.00 GiB] / in no VG: 0 [0   ]
  227.  
  228. @ubuntu:~# vgscan
  229.   Reading all physical volumes.  This may take a while...
  230.   Found volume group "root_vg" using metadata type lvm2
  231.  
  232. @ubuntu:~# lvscan
  233.   ACTIVE            '/dev/root_vg/root' [240.00 GiB] inherit
  234.   ACTIVE            '/dev/root_vg/swap_1' [15.89 GiB] inherit
  235.   ACTIVE            '/dev/root_vg/lv_var_opt' [200.00 GiB] inherit
  236.  
  237. @ubuntu:~# pvs
  238.   PV         VG      Fmt  Attr PSize   PFree
  239.   /dev/sda5  root_vg lvm2 a--  512.00g 56.10g
  240.  
  241. @ubuntu:~# vgs
  242.   VG      #PV #LV #SN Attr   VSize   VFree
  243.   root_vg   1   3   0 wz--n- 512.00g 56.10g
  244.  
  245. @ubuntu:~# lvs
  246.   LV         VG      Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  247.   lv_var_opt root_vg -wi-ao---- 200.00g                                                    
  248.   root       root_vg -wi-s----- 240.00g                                                    
  249.   swap_1     root_vg -wi-a-----  15.89g                                                    
  250.  
  251. @ubuntu:~# e2fsck /dev/root_vg/root
  252. e2fsck 1.42.12 (29-Aug-2014)
  253. e2fsck: No such file or directory while trying to open /dev/root_vg/root
  254. Possibly non-existent device?
  255.  
  256.  
  257. @ubuntu:~# dumpe2fs -h /dev/root_vg/root
  258. dumpe2fs 1.42.12 (29-Aug-2014)
  259. dumpe2fs: No such file or directory while trying to open /dev/root_vg/root
  260. Couldn't find valid filesystem superblock.
  261.  
  262. @ubuntu:~# dumpe2fs -h /dev/root_vg/lv_var_opt
  263. dumpe2fs 1.42.12 (29-Aug-2014)
  264. Filesystem volume name:   <none>
  265. Last mounted on:          /media/ubuntu/835a2e08-3bd8-4b69-905c-4d89c94f38e1
  266. Filesystem UUID:          835a2e08-3bd8-4b69-905c-4d89c94f38e1
  267. Filesystem magic number:  0xEF53
  268. Filesystem revision #:    1 (dynamic)
  269. Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
  270. Filesystem flags:         signed_directory_hash
  271. Default mount options:    user_xattr acl
  272. Filesystem state:         clean
  273. Errors behavior:          Continue
  274. Filesystem OS type:       Linux
  275. Inode count:              13107200
  276. Block count:              52428800
  277. Reserved block count:     2304246
  278. Free blocks:              20977115
  279. Free inodes:              13085168
  280. First block:              0
  281. Block size:               4096
  282. Fragment size:            4096
  283. Reserved GDT blocks:      1011
  284. Blocks per group:         32768
  285. Fragments per group:      32768
  286. Inodes per group:         8192
  287. Inode blocks per group:   512
  288. RAID stride:              32744
  289. Flex block group size:    16
  290. Filesystem created:       Wed Mar 18 03:44:05 2015
  291. Last mount time:          Thu Mar 31 22:35:13 2016
  292. Last write time:          Thu Mar 31 22:35:13 2016
  293. Mount count:              2
  294. Maximum mount count:      -1
  295. Last checked:             Tue Mar 22 18:15:07 2016
  296. Check interval:           0 (<none>)
  297. Lifetime writes:          3538 GB
  298. Reserved blocks uid:      0 (user root)
  299. Reserved blocks gid:      0 (group root)
  300. First inode:              11
  301. Inode size:           256
  302. Required extra isize:     28
  303. Desired extra isize:      28
  304. Journal inode:            8
  305. Default directory hash:   half_md4
  306. Directory Hash Seed:      420fb49b-9628-4afc-9f31-c3af313ac8c0
  307. Journal backup:           inode blocks
  308. Journal features:         journal_incompat_revoke
  309. Journal size:             128M
  310. Journal length:           32768
  311. Journal sequence:         0x00199921
  312. Journal start:            1
  313.  
  314. root@ubuntu:/etc/lvm/backup# vgcfgrestore -v --file /etc/lvm/archive/root_vg_00000-186308340.vg root_vg
  315.     Found same device /dev/sda5 with same pvid OgbrGhm632xfDN2LPzYOfVa92ltnGdAJ
  316.   Restored volume group root_vg
  317.  
  318.  
  319. @ubuntu:~# fdisk -l /dev/sda
  320. Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
  321. Units: sectors of 1 * 512 = 512 bytes
  322. Sector size (logical/physical): 512 bytes / 512 bytes
  323. I/O size (minimum/optimal): 512 bytes / 512 bytes
  324. Disklabel type: dos
  325. Disk identifier: 0x000d8608
  326.  
  327. Device     Boot      Start        End   Sectors   Size Id Type
  328. /dev/sda1  *          2048     499711    497664   243M 83 Linux
  329. /dev/sda2           501758 1000000000 999498243 476.6G  5 Extended
  330. /dev/sda3       1440530432 1953525167 512994736 244.6G 83 Linux
  331. /dev/sda5           501760  999999487 999497728 476.6G 8e Linux LVM
  332.  
  333. Partition table entries are not in disk order.
  334.  
  335. @ubuntu:~# pvdisplay
  336.   --- Physical volume ---
  337.   PV Name               /dev/sda5
  338.   VG Name               root_vg
  339.   PV Size               512.00 GiB / not usable 3.00 MiB
  340.   Allocatable           yes
  341.   PE Size               4.00 MiB
  342.   Total PE              131071
  343.   Free PE               14362
  344.   Allocated PE          116709
  345.   PV UUID               OgbrGh-m632-xfDN-2LPz-YOfV-a92l-tnGdAJ
  346.    
  347.  
  348. @ubuntu:~# vgdisplay
  349.   --- Volume group ---
  350.   VG Name               root_vg
  351.   System ID            
  352.   Format                lvm2
  353.   Metadata Areas        1
  354.   Metadata Sequence No  20
  355.   VG Access             read/write
  356.   VG Status             resizable
  357.   MAX LV                0
  358.   Cur LV                3
  359.   Open LV               1
  360.   Max PV                0
  361.   Cur PV                1
  362.   Act PV                1
  363.   VG Size               512.00 GiB
  364.   PE Size               4.00 MiB
  365.   Total PE              131071
  366.   Alloc PE / Size       116709 / 455.89 GiB
  367.   Free  PE / Size       14362 / 56.10 GiB
  368.   VG UUID               2z70QA-EyRN-2uvN-Sb5h-Kk0b-rY8q-rIfJA2
  369.    
  370.  
  371. @ubuntu:~# lvdisplay
  372.   --- Logical volume ---
  373.   LV Path                /dev/root_vg/root
  374.   LV Name                root
  375.   VG Name                root_vg
  376.   LV UUID                eYiD8o-vpnf-IkCb-mvyS-L24K-J2YC-AeLzis
  377.   LV Write Access        read/write
  378.   LV Creation host, time ubuntu, 2014-03-04 02:47:55 +0000
  379.   LV Status              suspended
  380.   # open                 0
  381.   LV Size                240.00 GiB
  382.   Current LE             61440
  383.   Segments               2
  384.   Allocation             inherit
  385.   Read ahead sectors     auto
  386.   - currently set to     256
  387.   Block device           252:0
  388.    
  389.   --- Logical volume ---
  390.   LV Path                /dev/root_vg/swap_1
  391.   LV Name                swap_1
  392.   VG Name                root_vg
  393.   LV UUID                m0dtIk-dziE-Wcnm-PoRP-b7rU-yMFo-Cp6zqM
  394.   LV Write Access        read/write
  395.   LV Creation host, time ubuntu, 2014-03-04 02:47:55 +0000
  396.   LV Status              available
  397.   # open                 0
  398.   LV Size                15.89 GiB
  399.   Current LE             4069
  400.   Segments               1
  401.   Allocation             inherit
  402.   Read ahead sectors     auto
  403.   - currently set to     256
  404.   Block device           252:1
  405.    
  406.   --- Logical volume ---
  407.   LV Path                /dev/root_vg/lv_var_opt
  408.   LV Name                lv_var_opt
  409.   VG Name                root_vg
  410.   LV UUID                bwcezd-MwgU-uVDL-mnJt-J0EI-b2x8-A2C8U5
  411.   LV Write Access        read/write
  412.   LV Creation host, time nimbus, 2015-03-18 03:39:40 +0000
  413.   LV Status              available
  414.   # open                 1
  415.   LV Size                200.00 GiB
  416.   Current LE             51200
  417.   Segments               1
  418.   Allocation             inherit
  419.   Read ahead sectors     auto
  420.   - currently set to     256
  421.   Block device           252:2
  422.    
  423.  
  424. @ubuntu:~# pvscan
  425.   PV /dev/sda5   VG root_vg   lvm2 [512.00 GiB / 56.10 GiB free]
  426.   Total: 1 [512.00 GiB] / in use: 1 [512.00 GiB] / in no VG: 0 [0   ]
  427.  
  428. @ubuntu:~# vgscan
  429.   Reading all physical volumes.  This may take a while...
  430.   Found volume group "root_vg" using metadata type lvm2
  431.  
  432. @ubuntu:~# lvscan
  433.   ACTIVE            '/dev/root_vg/root' [240.00 GiB] inherit
  434.   ACTIVE            '/dev/root_vg/swap_1' [15.89 GiB] inherit
  435.   ACTIVE            '/dev/root_vg/lv_var_opt' [200.00 GiB] inherit
  436.  
  437. @ubuntu:~# pvs
  438.   PV         VG      Fmt  Attr PSize   PFree
  439.   /dev/sda5  root_vg lvm2 a--  512.00g 56.10g
  440.  
  441. @ubuntu:~# vgs
  442.   VG      #PV #LV #SN Attr   VSize   VFree
  443.   root_vg   1   3   0 wz--n- 512.00g 56.10g
  444.  
  445. @ubuntu:~# lvs
  446.   LV         VG      Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  447.   lv_var_opt root_vg -wi-ao---- 200.00g                                                    
  448.   root       root_vg -wi-s----- 240.00g                                                    
  449.   swap_1     root_vg -wi-a-----  15.89g                                                    
  450.  
  451. @ubuntu:~# e2fsck /dev/root_vg/root
  452. e2fsck 1.42.12 (29-Aug-2014)
  453. e2fsck: No such file or directory while trying to open /dev/root_vg/root
  454. Possibly non-existent device?
  455.  
  456.  
  457. @ubuntu:~# dumpe2fs -h /dev/root_vg/root
  458. dumpe2fs 1.42.12 (29-Aug-2014)
  459. dumpe2fs: No such file or directory while trying to open /dev/root_vg/root
  460. Couldn't find valid filesystem superblock.
  461.  
  462. @ubuntu:~# dumpe2fs -h /dev/root_vg/lv_var_opt
  463. dumpe2fs 1.42.12 (29-Aug-2014)
  464. Filesystem volume name:   <none>
  465. Last mounted on:          /media/ubuntu/835a2e08-3bd8-4b69-905c-4d89c94f38e1
  466. Filesystem UUID:          835a2e08-3bd8-4b69-905c-4d89c94f38e1
  467. Filesystem magic number:  0xEF53
  468. Filesystem revision #:    1 (dynamic)
  469. Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
  470. Filesystem flags:         signed_directory_hash
  471. Default mount options:    user_xattr acl
  472. Filesystem state:         clean
  473. Errors behavior:          Continue
  474. Filesystem OS type:       Linux
  475. Inode count:              13107200
  476. Block count:              52428800
  477. Reserved block count:     2304246
  478. Free blocks:              20977115
  479. Free inodes:              13085168
  480. First block:              0
  481. Block size:               4096
  482. Fragment size:            4096
  483. Reserved GDT blocks:      1011
  484. Blocks per group:         32768
  485. Fragments per group:      32768
  486. Inodes per group:         8192
  487. Inode blocks per group:   512
  488. RAID stride:              32744
  489. Flex block group size:    16
  490. Filesystem created:       Wed Mar 18 03:44:05 2015
  491. Last mount time:          Thu Mar 31 22:35:13 2016
  492. Last write time:          Thu Mar 31 22:35:13 2016
  493. Mount count:              2
  494. Maximum mount count:      -1
  495. Last checked:             Tue Mar 22 18:15:07 2016
  496. Check interval:           0 (<none>)
  497. Lifetime writes:          3538 GB
  498. Reserved blocks uid:      0 (user root)
  499. Reserved blocks gid:      0 (group root)
  500. First inode:              11
  501. Inode size:           256
  502. Required extra isize:     28
  503. Desired extra isize:      28
  504. Journal inode:            8
  505. Default directory hash:   half_md4
  506. Directory Hash Seed:      420fb49b-9628-4afc-9f31-c3af313ac8c0
  507. Journal backup:           inode blocks
  508. Journal features:         journal_incompat_revoke
  509. Journal size:             128M
  510. Journal length:           32768
  511. Journal sequence:         0x00199921
  512. Journal start:            1
  513.  
  514. root@ubuntu:/etc/lvm/backup# vgcfgrestore -v --file /etc/lvm/archive/root_vg_00000-186308340.vg root_vg
  515.     Found same device /dev/sda5 with same pvid OgbrGhm632xfDN2LPzYOfVa92ltnGdAJ
  516.   Restored volume group root_vg
  517.  
  518. root@ubuntu:~# e2fsck /dev/root_vg/root
  519. e2fsck 1.42.12 (29-Aug-2014)
  520. e2fsck: Invalid argument while trying to open /dev/root_vg/root
  521.  
  522. The superblock could not be read or does not describe a valid ext2/ext3/ext4
  523. filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
  524. filesystem (and not swap or ufs or something else), then the superblock
  525. is corrupt, and you might try running e2fsck with an alternate superblock:
  526.     e2fsck -b 8193 <device>
  527.  or
  528.     e2fsck -b 32768 <device>
  529.  
  530. root@ubuntu:~# e2fsck -b 8193 /dev/root_vg/root
  531. e2fsck 1.42.12 (29-Aug-2014)
  532. e2fsck: Invalid argument while trying to open /dev/root_vg/root
  533.  
  534. The superblock could not be read or does not describe a valid ext2/ext3/ext4
  535. filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
  536. filesystem (and not swap or ufs or something else), then the superblock
  537. is corrupt, and you might try running e2fsck with an alternate superblock:
  538.     e2fsck -b 8193 <device>
  539.  or
  540.     e2fsck -b 32768 <device>
  541.  
  542. root@ubuntu:~# e2fsck -b 32768 /dev/root_vg/root
  543. e2fsck 1.42.12 (29-Aug-2014)
  544. e2fsck: Invalid argument while trying to open /dev/root_vg/root
  545.  
  546. The superblock could not be read or does not describe a valid ext2/ext3/ext4
  547. filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
  548. filesystem (and not swap or ufs or something else), then the superblock
  549. is corrupt, and you might try running e2fsck with an alternate superblock:
  550.     e2fsck -b 8193 <device>
  551.  or
  552.     e2fsck -b 32768 <device>
RAW Paste Data
Top