Restore storage pools

RAID, Volume, storage pool, hard drive, USB, SSD cache and iSCSI LUN
Locked
User avatar
attichris
Posts: 1
Joined: 13 Oct 2020, 19:56

Restore storage pools

Post 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
User avatar
TMroy
TerraMaster Team
Posts: 2605
Joined: 10 Mar 2020, 14:04
China

Re: Restore storage pools

Post by TMroy »

Hi Chris, what did you do to your device? What is the model number and OS version?
To contact our team, please send email to following addresses, remember to replace (at) with @:
Support team: support(at)terra-master.com (for technical support only)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
ktmcat
Posts: 2
Joined: 14 Dec 2020, 01:53

Re: Restore storage pools

Post 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
User avatar
TMroy
TerraMaster Team
Posts: 2605
Joined: 10 Mar 2020, 14:04
China

Re: Restore storage pools

Post by TMroy »

May I know your model number, TOS version and what hard drive you installed?
To contact our team, please send email to following addresses, remember to replace (at) with @:
Support team: support(at)terra-master.com (for technical support only)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
ktmcat
Posts: 2
Joined: 14 Dec 2020, 01:53

Re: Restore storage pools

Post by ktmcat »

I ran e2fsck form the cli and fixed hard drive issue and everything stared working.
User avatar
TMroy
TerraMaster Team
Posts: 2605
Joined: 10 Mar 2020, 14:04
China

Re: Restore storage pools

Post by TMroy »

Thank you for your update.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Support team: support(at)terra-master.com (for technical support only)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
Locked

Return to “Storage”