Hi All
We had a server with XFS file systems. I put webmin on it to enable windoze
administrators to create accounts etc. We used the webmin fsdump
functionality. (We successfully used the restore multiple times)
Well we had hard drive failure, so everything is gone. I am now trying to
restore the backups on another system using xfsrestore. There now seems to
be header checksum problems which I can not get past.
Below is full details of everything. (Look specifically at the "validating
media file header" section)
Any help will be appreciated!
Gert Steyn
---
ISE Technologies
(www.ise.co.za)
office xfsdump # xfsrestore -f /dev/st0 -t -b 512 -v5
xfsrestore: RLIMIT_AS org cur 0xffffffffffffffff max 0xffffffffffffffff
xfsrestore: RLIMIT_STACK org cur 0x800000 max 0xffffffffffffffff
xfsrestore: raising stack size soft limit from 0x800000 to 0x2000000
xfsrestore: RLIMIT_STACK new cur 0x2000000 max 0xffffffffffffffff
xfsrestore: RLIMIT_DATA org cur 0xffffffffffffffff max 0xffffffffffffffff
xfsrestore: RLIMIT_FSIZE org cur 0xffffffffffffffff max 0xffffffffffffffff
xfsrestore: RLIMIT_FSIZE now cur 0xffffffffffffffff max 0xffffffffffffffff
xfsrestore: RLIMIT_CPU cur 0xffffffffffffffff max 0xffffffffffffffff
xfsrestore: RLIMIT_CPU now cur 0xffffffffffffffff max 0xffffffffffffffff
xfsrestore: INTGENMAX == 2147483647 (0x7fffffff)
xfsrestore: UINTGENMAX == 4294967295 (0xffffffff)
xfsrestore: OFF64MAX == 9223372036854775807 (0x7fffffffffffffff)
xfsrestore: OFFMAX == -1 (0x7fffffff)
xfsrestore: SIZEMAX == 4294967295 (0xffffffff)
xfsrestore: INOMAX == 4294967295 (0xffffffff)
xfsrestore: TIMEMAX == 2147483647 (0x7fffffff)
xfsrestore: SIZE64MAX == 18446744073709551615 (0xffffffffffffffff)
xfsrestore: INO64MAX == 18446744073709551615 (0xffffffffffffffff)
xfsrestore: UINT64MAX == 18446744073709551615 (0xffffffffffffffff)
xfsrestore: INT64MAX == 9223372036854775807 (0x7fffffffffffffff)
xfsrestore: UINT32MAX == 4294967295 (0xffffffff)
xfsrestore: INT32MAX == 2147483647 (0x7fffffff)
xfsrestore: INT16MAX == 32767 (0x7fff)
xfsrestore: UINT16MAX == 65535 (0xffff)
xfsrestore: getpagesize( ) returns 4096
xfsrestore: parent pid is 5815
xfsrestore: using scsi tape (drive_scsitape) strategy
xfsrestore: tty fd: 0; terminal interrupt character: (03)
xfsrestore: version 2.2.4 (dump format 3.0) - Running single-threaded
xfsrestore: sizeof( pers_desc_t ) == 328, pgsz == 4096, perssz == 20480
::::::::::: persistent inventory media file tree at initialization
:::::::::::
session inventory unknown
...................... end persistent inventory display
......................
xfsrestore: drive op: init
xfsrestore: drive op: sync
xfsrestore: Media_create
xfsrestore: checking and validating command line dump id/label
xfsrestore: searching media for dump
xfsrestore: Media_mfile_next: purp==0 pos==0
xfsrestore: drive op: begin read
xfsrestore: preparing drive
xfsrestore: tape op: opening drive
xfsrestore: tape op: get status
xfsrestore: tape status = bot wprot onl
xfsrestore: tape op: get block size info
xfsrestore: max=1048576 cur=512
xfsrestore: fixed block size tape drive at /dev/st0
xfsrestore: tape op: get block size info
xfsrestore: max=1048576 cur=512
xfsrestore: recommended tape media file size set to 0x10000000 bytes
xfsrestore: recommended tape media mark separation set to 0x1000000 bytes
xfsrestore: determining tape record size: trying 512 (0x200) bytes
xfsrestore: setting fixed block size to 512
xfsrestore: tape op: closing drive
xfsrestore: tape op: opening drive
xfsrestore: tape op: set block size 512
xfsrestore: tape op: get block size info
xfsrestore: max=1048576 cur=512
xfsrestore: tape op: get status
xfsrestore: tape status = bot wprot onl
xfsrestore: tape positioned at BOT: doing redundant rewind
xfsrestore: tape op: rewind 0
xfsrestore: tape op: get status
xfsrestore: tape status = bot wprot onl
xfsrestore: tape op: reading 512 bytes
xfsrestore: tape op read of 512 bytes successful
xfsrestore: tape op: get status
xfsrestore: tape status = wprot onl
xfsrestore: nread == selected blocksize on fixed blocksize drive indicates
correct blocksize found
xfsrestore: validating media file header
xfsrestore: validate_media_file_hdr
gh_magic xFSdump0
gh_version 33554432
gh_checksum 2981147653
gh_timestamp 1657055807
gh_ipaddr 144889965816315904
gh_hostname office
gh_dumplabel
xfsrestore: bad media file header checksum
xfsrestore: bad media file header at BOT indicates foreign or corrupted tape
xfsrestore: tape op: rewind 0
xfsrestore: tape op: get status
xfsrestore: tape status = bot wprot onl
xfsrestore: setting fixed block size to 512
xfsrestore: tape op: closing drive
xfsrestore: tape op: opening drive
xfsrestore: tape op: set block size 512
xfsrestore: tape op: get block size info
xfsrestore: max=1048576 cur=512
xfsrestore: drive op: get device class
xfsrestore: media object not useful
xfsrestore: drive op: eject media
xfsrestore: tape op: closing drive
|