当前位置:首页 > 尘凡 > 正文内容

btrfs格式数据提取

满纸空言3年前 (2021-04-21)尘凡17760

方法一:

win10需要关闭BIOS安全策略

不支持NAS


方法二:

另外一个工具:ExtFS


方法三:
群晖NAS数据

# How can I recover data on my Synology NAS using a PC?

If your Synology NAS malfunctions, the data stored on its drives can be easily recovered using a PC and an Ubuntu live CD. Make sure the file system running on the drives of your Synology NAS is ext4 or Btrfs, and then follow the steps below to recover your data. Here we use Ubuntu 18.04 version as the example.

1.  Prepare a PC with a sufficient number of drive slots for installing the drives removed from your Synology NAS.
2.  Remove the drives from your Synology NAS and install them in your PC. For RAID or SHR configurations, you must install all the drives (excluding hot spare drives) in your PC at the same time.

3.  Prepare an Ubuntu environment by following the instructions in the tutorial [Create a bootable USB stick on Windows](https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-windows#0).

4.  Go to the **Show Applications** menu on the lower-left corner.
    ![image](https://upload-images.jianshu.io/upload_images/7464981-6d688710feb805b9.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

5.  Enter **Terminal** in the search bar and select **Terminal**.
    ![image](https://upload-images.jianshu.io/upload_images/7464981-447b351bc930065a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

6.  If you are recovering data from a RAID or SHR configuration, please follow steps 7 to 10; if you are recovering files from basic storage types with only one drive, please go to step 10.
7.  Enter the following command (`sudo` executes root privileges).
    *   `Ubuntu@ubuntu:~$ sudo -i`
8.  Enter the following commands to install `mdadm` and `lvm2`, both of which are RAID management tools. `lvm2` must be installed or `vgchange` will not work.
    *   `root@ubuntu:~$ apt-get update`
    *   `root@ubuntu:~$ apt-get install -y mdadm lvm2`
9.  Enter the following command to mount all the drives removed from your Synology NAS. The results may differ according to the storage pool configurations on your Synology NAS.
    *   `root@ubuntu:~$ mdadm -Asf && vgchange -ay`
10.  Enter the following command to mount all the drives as read-only to access your data. Enter your device path in `${device_path}` and mount point in `${mount_point}`. Your data will be placed under the mount point.
    *   `$ mount ${device_path} ${mount_point} -o ro`

    #### Example:

    `mount /dev/vg1000/lv /mnt -o ro`
    `mount /dev/vg1/volume_1 /mnt -o ro`


 

 

扫描二维码推送至手机访问。

版权声明:本文由满纸空言发布,如需转载请注明出处。

本文链接:https://mzky.cc/post/26.html

标签: NAS
分享给朋友:

“btrfs格式数据提取” 的相关文章

systemctl启动耗时排行3年前 (2021-04-21)
安装Firewalld异常处理3年前 (2021-06-18)
红旗11系统下载3年前 (2021-07-09)
解决goland显示导入异常3年前 (2021-07-19)
磁盘扩容3年前 (2021-08-27)
锻炼算法3年前 (2021-09-01)

发表评论

访客

看不清,换一张

◎欢迎参与讨论,请在这里发表您的看法和观点。