/ sbin / dump: “Número mágico ruim no super bloco ao abrir o sistema de arquivos”

1

Estou tentando fazer um backup de um dos nossos servidores:

[root@butler /]# /sbin/dump -0uan -f - / | gzip -2 | ssh -c blowfish [email protected] dd of=/RAIDPOOL01/sysbackup/full-backup-'date '+%d-%B-%Y''.dump.gz

Isso me causa um erro estranho:

DUMP: No group entry for operator.
DUMP: Date of this level 0 dump: Mon Feb 15 10:34:30 2016
DUMP: Dumping /dev/mapper/centos_butler-root (/) to standard output
/dev/mapper/centos_butler-root: Bad magic number in super-block while opening filesystem
DUMP: The ENTIRE dump is aborted.

O que é isso e como corrigir isso para criar um backup?

Saída de mount :

proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,size=3894872k,nr_inodes=973718,mode=755)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/mapper/centos_butler-root on / type xfs (rw,relatime,attr2,inode64,noquota)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=34,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
sunrpc on /proc/fs/nfsd type nfsd (rw,relatime)
/dev/sda1 on /boot type xfs (rw,relatime,attr2,inode64,noquota)
gvfsd-fuse on /run/user/500/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=500,group_id=500)
/etc/auto.misc on /misc type autofs (rw,relatime,fd=6,pgrp=4069,timeout=300,minproto=5,maxproto=5,indirect)
-hosts on /net type autofs (rw,relatime,fd=12,pgrp=4069,timeout=300,minproto=5,maxproto=5,indirect)
/etc/jabba.nfs on /192.168.0.225 type autofs (rw,relatime,fd=18,pgrp=4069,timeout=120,minproto=5,maxproto=5,indirect)
/etc/mothership.nfs on /192.168.0.226 type autofs (rw,relatime,fd=24,pgrp=4069,timeout=120,minproto=5,maxproto=5,indirect)

Saída de file -L -s /dev/mapper/centos_butler-root :

/dev/mapper/centos_butler-root: SGI XFS filesystem data (blksz 4096, inosz 256, v2 dirs)
    
por fredrik 15.02.2016 / 10:40

2 respostas

1

dump não pode copiar o XFS, use xfsdump

    
por 15.02.2016 / 11:02
1

Para despejar um sistema de arquivos XFS, você deve usar o utilitário xfsdump . Por exemplo:

xfsdump -l 0 - /

fará o dump do sistema de arquivos / para stdout

Para descarregar o uso de outro dispositivo / arquivo como destino:

xfsdump -l 0 -f /dev/otherdev /

Para mais informações, consulte aqui

    
por 15.02.2016 / 11:08

Tags