Project

General

Profile

Bug #11444

HPC: Write instructions on how to recover a backup from projectzfs disk (from tape)

Added by Gerard Bernabeu Altayo over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Start date:
01/20/2016
Due date:
% Done:

0%

Estimated time:
Duration:

Description

Need to add the instructions in the wiki.

History

#2 Updated by Gerard Bernabeu Altayo over 3 years ago

I've created a pool that will be the recipient of the backups :)

[root@dslustre21 ~]# zpool create -o ashift=12  nexsanpool1extra raidz2 n6 n7 n8 n13 n10 n11 spare n0 n9
[root@dslustre21 ~]# zpool list
NAME               SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
nexsanpool1       16.2T  8.26T  7.99T    50%  1.00x  ONLINE  -
nexsanpool1extra  16.2T  1.79M  16.2T     0%  1.00x  ONLINE  -
nexsanpool2       32.5T  13.9T  18.6T    42%  1.00x  ONLINE  -
projectzfspool    7.25T  5.88T  1.37T    81%  1.00x  ONLINE  -
[root@dslustre21 ~]# ll /nexsanpool1extra/
total 0
[root@dslustre21 ~]# 

And exported it:

/nexsanpool1extra/                      127.0.0.0/255.255.0.0(rw,no_root_squash,sync) 192.168.32.249/255.255.255.0(rw,no_root_squash,sync)

[root@dslustre21 ~]# exportfs -r
[root@dslustre21 ~]#  exportfs | grep extra
/nexsanpool1extra
/nexsanpool1extra

And mounted it:

[root@lqcdsrm ~]# mkdir /nexsanpool1extra
[root@lqcdsrm ~]# vim /etc/fstab
[root@lqcdsrm ~]# mount -a
[root@lqcdsrm ~]# df -h | grep nexsanpool1extra
192.168.35.232:/nexsanpool1extra
                       11T  256K   11T   1% /nexsanpool1extra
[root@lqcdsrm ~]# 

Starting DCCPs:

[root@lqcdsrm ~]# for i in $gzipstotransfer; do
[5]-  Done                    echo dccp $i /nexsanpool1extra/
[6]+  Done                    echo dccp $i /nexsanpool1extra/
>   dccp $i /nexsanpool1extra/ &
> done



Also available in: Atom PDF