Page 1 of 1
Restore storage pools
Posted: 13 Oct 2020, 19:59
by attichris
Hi,
I had to replace my unit. I had 3 single disk pools, I now only have 1 being recognised. Is there a way I can get the data from other 2 disks back? When I try to create a storage pool again it says the data on the disk will be removed. Will i have to back the the disks up to a linux machine first?
thanks,
chris
Re: Restore storage pools
Posted: 13 Oct 2020, 20:31
by TMroy
Hi Chris, what did you do to your device? What is the model number and OS version?
Re: Restore storage pools
Posted: 14 Dec 2020, 02:11
by ktmcat
Hello attichris and TMroy,
I encounter exact issue:
I created a RAID0 copied all the files last night. Now, this morning every time I try to access the NAS it wants me to configure everything other than static-IP. I can access the NAS, I see all the folder
/mnt# ls
Family appdata bootdev iPhoneBackup md0 public usb usbshare1
cd public
-bash: cd: public: Not a directory
When I try to copy a file to /mnt/public, looks like I can
# cp CRW_0210.jpeg /mnt/public
Does not throw any errors
But if I try to go to /mnt/public, I get following error
# cd /mnt/public
-bash: cd: /mnt/public: Not a directory
============================================
Few helpful-output
=================
# vgscan
Reading all physical volumes. This may take a while...
Found volume group "vg0" using metadata type lvm2
==========================
# lvscan
ACTIVE '/dev/vg0/lv0' [5.27 TiB] inherit
=======================
lvchange -ay /dev/vg0/lv0/public
"vg0/lv0/public": Invalid path for Logical Volume.
root@Sanduk:/mnt/usbshare1/AirPort Time Capsule Archive/RAW# lvchange
Need 1 or more of -a, -C, -M, -p, -r, -Z, --resync, --refresh, --alloc, --addtag, --deltag, --monitor, --poll or --discards
Run `lvchange --help' for more information.
root@Sanduk:/mnt/usbshare1/AirPort Time Capsule Archive/RAW# ls /dev/vg0/lv0/
/bin/ls: cannot access /dev/vg0/lv0/: Not a directory
root@Sanduk:/mnt/usbshare1/AirPort Time Capsule Archive/RAW# vgscan
Reading all physical volumes. This may take a while...
Found volume group "vg0" using metadata type lvm2
root@Sanduk:/mnt/usbshare1/AirPort Time Capsule Archive/RAW# lvscan
ACTIVE '/dev/vg0/lv0' [5.27 TiB] inherit
root@Sanduk:/mnt/usbshare1/AirPort Time Capsule Archive/RAW# vgdisplay
--- Volume group ---
VG Name vg0
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 2
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 5.27 TiB
PE Size 4.00 MiB
Total PE 1382706
Alloc PE / Size 1382706 / 5.27 TiB
Free PE / Size 0 / 0
VG UUID 0OOzl6-32Yt-etw4-0Kei-qM0Y-3dwX-6mj8TD
So, looks like that RAID and virtual disk do exist, but some wired reason I can't access those.
Checked the /etc/fstab and stab is empty.
Any suggestions to fix this issue ASAP will be gr8ly appreciated
Re: Restore storage pools
Posted: 14 Dec 2020, 10:13
by TMroy
May I know your model number, TOS version and what hard drive you installed?
Re: Restore storage pools
Posted: 14 Dec 2020, 21:18
by ktmcat
I ran e2fsck form the cli and fixed hard drive issue and everything stared working.
Re: Restore storage pools
Posted: 15 Dec 2020, 01:48
by TMroy
Thank you for your update.