Jump to content
XPEnology Community
  • 0

this is on me.


aniel

Question

Between me trying to get redpill running on bare metal and going back to esxi and ignorantly rebooting vm, i believe i have damaged my  volume. My question is, can this be repaired or do i need to try get the data off and rebuild the volume ? 

 

Here are some of the commands i have run so far and thank you in advance.

 

root@xpe_ds3617:~# btrfs scrub start -Bd /dev/sdxy
ERROR: cannot check /dev/sdxy: No such file or directory
ERROR: '/dev/sdxy' is not a mounted btrfs device
root@xpe_ds3617:~# ls
root@xpe_ds3617:~# diskutil list
-ash: diskutil: command not found
root@xpe_ds3617:~#
root@xpe_ds3617:~# df
Filesystem               1K-blocks        Used   Available Use% Mounted on
/dev/md0                   2385528     1869756      396988  83% /
devtmpfs                   9172180           0     9172180   0% /dev
tmpfs                      9208580           4     9208576   1% /dev/shm
tmpfs                      9208580       19712     9188868   1% /run
tmpfs                      9208580           0     9208580   0% /sys/fs/cgroup
tmpfs                      9208580         628     9207952   1% /tmp
/dev/mapper/cachedev_0 60907333880 40438417680 20468916200  67% /volume1
root@xpe_ds3617:~# btrfs scrub start -Bd /volume1
ERROR: scrubbing /volume1 failed for device id 1: ret=-1, errno=30 (Read-only file system)
scrub device /dev/mapper/cachedev_0 (id 1) canceled
        scrub started at Sat Nov 26 03:35:29 2022 and was aborted after 00:00:00
        total bytes scrubbed: 0.00B with 0 errors
root@xpe_ds3617:~# sudo mount /dev/vg1000/lv /volume1
mount: /volume1: special device /dev/vg1000/lv does not exist.
root@xpe_ds3617:~#
root@xpe_ds3617:~# cat /etc/fstab
none /proc proc defaults 0 0
/dev/root / ext4 defaults 1 1
/dev/mapper/cachedev_0 /volume1 btrfs auto_reclaim_space,ssd,synoacl,relatime,ro,nodev 0 0
root@xpe_ds3617:~#
root@xpe_ds3617:~# lvdisplay -v
    Using logical volume(s) on command line.
  --- Logical volume ---
  LV Path                /dev/shared_cache_vg1/syno_vg_reserved_area
  LV Name                syno_vg_reserved_area
  VG Name                shared_cache_vg1
  LV UUID                tRSFsV-Qals-pzTO-YlfN-OJ41-32Sf-Nids7A
  LV Write Access        read/write
  LV Creation host, time ,
  LV Status              available
  # open                 0
  LV Size                12.00 MiB
  Current LE             3
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     384
  Block device           249:0

  --- Logical volume ---
  LV Path                /dev/shared_cache_vg1/alloc_cache_1
  LV Name                alloc_cache_1
  VG Name                shared_cache_vg1
  LV UUID                SxlqfX-E9FV-RgAG-Lu9r-Kfg2-D8t8-tmztR4
  LV Write Access        read/write
  LV Creation host, time ,
  LV Status              available
  # open                 1
  LV Size                465.00 GiB
  Current LE             119040
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     384
  Block device           249:1

  --- Logical volume ---
  LV Path                /dev/vg1/syno_vg_reserved_area
  LV Name                syno_vg_reserved_area
  VG Name                vg1
  LV UUID                OcLQa4-U13U-Hgoi-cE2g-A1hv-b39X-cXJP5J
  LV Write Access        read/write
  LV Creation host, time ,
  LV Status              available
  # open                 0
  LV Size                12.00 MiB
  Current LE             3
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     2304
  Block device           249:2

  --- Logical volume ---
  LV Path                /dev/vg1/volume_1
  LV Name                volume_1
  VG Name                vg1
  LV UUID                GDViyC-hLT0-FOwK-xQ02-NkBe-55Kf-1ljUle
  LV Write Access        read/write
  LV Creation host, time ,
  LV Status              available
  # open                 1
  LV Size                59.09 TiB
  Current LE             15489536
  Segments               8
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     2304
  Block device           249:3

root@xpe_ds3617:~#
root@xpe_ds3617:~# sudo vgchange -ay
  2 logical volume(s) in volume group "shared_cache_vg1" now active
  2 logical volume(s) in volume group "vg1" now active
root@xpe_ds3617:~#
root@xpe_ds3617:~# sudo mount /dev/vg1000/lv /volume1
mount: /volume1: special device /dev/vg1000/lv does not exist.
root@xpe_ds3617:~#
root@xpe_ds3617:~# sudo mount /dev/vg1/lv /volume1
mount: /volume1: special device /dev/vg1/lv does not exist.
root@xpe_ds3617:~# sudo mount /dev/vg1000/lv /volume1
mount: /volume1: special device /dev/vg1000/lv does not exist.
root@xpe_ds3617:~# sudo mount /dev/vg1/lv /volume1
mount: /volume1: special device /dev/vg1/lv does not exist.
root@xpe_ds3617:~# sudo vgchange -ay
  2 logical volume(s) in volume group "shared_cache_vg1" now active
  2 logical volume(s) in volume group "vg1" now active
root@xpe_ds3617:~#
root@xpe_ds3617:~# sudo mount /dev/vg1/lv /volume_1
mount: /volume_1: mount point does not exist.
root@xpe_ds3617:~# sudo mount -o clear_cache /dev/vg1/lv /volume_1
mount: /volume_1: mount point does not exist.
root@xpe_ds3617:~# sudo mount /dev/vg1/lv /volume1
mount: /volume1: special device /dev/vg1/lv does not exist.
root@xpe_ds3617:~# sudo mount -o clear_cache /dev/vg1/lv /volume_1
mount: /volume_1: mount point does not exist.
root@xpe_ds3617:~# sudo mount -o clear_cache /dev/vg1/lv /volume1
mount: /volume1: special device /dev/vg1/lv does not exist.
root@xpe_ds3617:~# sudo mount -o recovery /dev/vg1/lv /volume1
mount: /volume1: special device /dev/vg1/lv does not exist.
root@xpe_ds3617:~# sudo mount -o recovery /dev/vg1/lv /volume_1
mount: /volume_1: mount point does not exist.
root@xpe_ds3617:~# sudo mount -o recovery,ro /dev/vg1/lv /volume_1
mount: /volume_1: mount point does not exist.
root@xpe_ds3617:~# sudo mount -o recovery,ro /dev/vg1/lv /volume1
mount: /volume1: special device /dev/vg1/lv does not exist.
root@xpe_ds3617:~# sudo btrfs rescue super /dev/vg1/lv
ERROR: mount check: cannot open /dev/vg1/lv: No such file or directory
ERROR: could not check mount status: No such file or directory
root@xpe_ds3617:~#

 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...