Skip to contentSkip to conversation

xfsdump INTERRUPT issue

DISCUSSION J. Ellis 4 participants 15 messages Dec 1, 2012 – Dec 5, 2012

lore
Share & tools
lore

J. Ellis

author
#0 lore raw

I'm trying to prepare a question regarding an xfsdump INTERRUPT error I'm getting, and I'm trying to follow the guidelines for reporting such issues here:

http://xfs.org/index.php/XFS_FAQ#Q:_What_information_should_I_include_when_r
eporting_a_problem.3F

But these last two instructions I'm having a problem finding the information on how to generate:

xfs_info output on the filesystem in question (I tried xfs_info /dev/sdc, but it keeps saying for each drive that it's not a mounted xfs system IIRC)

dmesg output showing all error messages and stack traces

Then you need to describe your workload that is causing the problem, and a demonstration of the bad behavior that is occurring. If it is a performance problem, then 30s - 1 minute samples of:
1. iostat -x -d -m 5
2. vmstat 5

Do I run this simultaneously while xfstools are working? I'm also not sure what's meant by describe your workload. Can someone step me through this?

Please excuse my n00bness.

Best,
Jeffrey

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#1 lore raw

Anyone?

Or do I have enough to ask the question?

Best,
J.

Quoted 18 lines · J. Ellis

I'm trying to prepare a question regarding an xfsdump INTERRUPT error I'm getting, and I'm trying to follow the guidelines for reporting such issues here:

http://xfs.org/index.php/XFS_FAQ#Q:_What_information_should_I_include_when_reporting_a_problem.3F

But these last two instructions I'm having a problem finding the information on how to generate:

xfs_info output on the filesystem in question (I tried xfs_info /dev/sdc, but it keeps saying for each drive that it's not a mounted xfs system IIRC)

dmesg output showing all error messages and stack traces

Then you need to describe your workload that is causing the problem, and a demonstration of the bad behavior that is occurring. If it is a performance problem, then 30s - 1 minute samples of:
1. iostat -x -d -m 5
2. vmstat 5

Do I run this simultaneously while xfstools are working? I'm also not sure what's meant by describe your workload. Can someone step me through this?

Quoted 8 lines

Please excuse my n00bness.

Best,
Jeffrey
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#2 lore raw
Quoted 3 lines · Jeffrey Ellis

Anyone?

Or do I have enough to ask the question?

We aren't the US Govt, i.e. we're not going to ignore your help request just because you're missing a few details. They may not be relevant anyway. So ask away with the details you do have. If anything else is needed we'll ask you to provide it.

Signature · 1 line
Stan
Quoted 34 lines

Best,
J.

Quoted 18 lines · J. Ellis

I'm trying to prepare a question regarding an xfsdump INTERRUPT error I'm getting, and I'm trying to follow the guidelines for reporting such issues here:

http://xfs.org/index.php/XFS_FAQ#Q:_What_information_should_I_include_when_reporting_a_problem.3F

But these last two instructions I'm having a problem finding the information on how to generate:

xfs_info output on the filesystem in question (I tried xfs_info /dev/sdc, but it keeps saying for each drive that it's not a mounted xfs system IIRC)

dmesg output showing all error messages and stack traces

Then you need to describe your workload that is causing the problem, and a demonstration of the bad behavior that is occurring. If it is a performance problem, then 30s - 1 minute samples of:
1. iostat -x -d -m 5
2. vmstat 5

Do I run this simultaneously while xfstools are working? I'm also not sure what's meant by describe your workload. Can someone step me through this?

Quoted 8 lines

Please excuse my n00bness.

Best,
Jeffrey
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

Quoted 5 lines

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#13 lore raw
In reply to J. Ellis
Quoted 7 lines · J. Ellis

I'm trying to prepare a question regarding an xfsdump INTERRUPT error I'm getting, and I'm trying to follow the guidelines for reporting such issues here:

http://xfs.org/index.php/XFS_FAQ#Q:_What_information_should_I_include_when_r
eporting_a_problem.3F

Quoted 6 lines

But these last two instructions I'm having a problem finding the information on how to generate:

xfs_info output on the filesystem in question (I tried xfs_info /dev/sdc, but it keeps saying for each drive that it's not a mounted xfs system IIRC)

$ man xfs_info
....
	xfs_info [ -t mtab ] mount-point
....
Quoted 1 line

dmesg output showing all error messages and stack traces

Run the dmesg command....

Quoted 9 lines

Then you need to describe your workload that is causing the problem, and a demonstration of the bad behavior that is occurring. If it is a performance problem, then 30s - 1 minute samples of:
1. iostat -x -d -m 5
2. vmstat 5

Do I run this simultaneously while xfstools are working? I'm also not sure what's meant by describe your workload. Can someone step me through this?

Do you have a performance problem? I don't think you have - your problem is that xfsdump is failing for some reason - so this information is unnecessary.

As to your workload, your problem is xfsdump is failing for some reason. Hence we need to know roughly what xfsdump is running on. i.e. describe the directory structure/filesystem contents being backed up....

BTW, don't expect responses to questions in a hour late on friday night/weekends - if you are lucky someone will be in front of their computer over a weekend, sometimes you are not so lucky...

Cheers,

Dave.

Signature · 7 lines
Dave Chinner
[email protected]

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#14 lore raw

Ah :)

Ok, I'll skip dmesg and add xfs_info. And I'll make sure to post everything Monday.

Thanks again :)

Best,
J.

Quoted 43 lines · Dave Chinner
Quoted 7 lines · J. Ellis

I'm trying to prepare a question regarding an xfsdump INTERRUPT error I'm getting, and I'm trying to follow the guidelines for reporting such issues here:

http://xfs.org/index.php/XFS_FAQ#Q:_What_information_should_I_include_when_r
eporting_a_problem.3F

Quoted 6 lines

But these last two instructions I'm having a problem finding the information on how to generate:

xfs_info output on the filesystem in question (I tried xfs_info /dev/sdc, but it keeps saying for each drive that it's not a mounted xfs system IIRC)

$ man xfs_info
....
   xfs_info [ -t mtab ] mount-point
....
Quoted 1 line

dmesg output showing all error messages and stack traces

Run the dmesg command....

Quoted 9 lines

Then you need to describe your workload that is causing the problem, and a demonstration of the bad behavior that is occurring. If it is a performance problem, then 30s - 1 minute samples of:
1. iostat -x -d -m 5
2. vmstat 5

Do I run this simultaneously while xfstools are working? I'm also not sure what's meant by describe your workload. Can someone step me through this?

Do you have a performance problem? I don't think you have - your problem is that xfsdump is failing for some reason - so this information is unnecessary.

As to your workload, your problem is xfsdump is failing for some reason. Hence we need to know roughly what xfsdump is running on. i.e. describe the directory structure/filesystem contents being backed up....

Quoted 15 lines

BTW, don't expect responses to questions in a hour late on friday night/weekends - if you are lucky someone will be in front of their computer over a weekend, sometimes you are not so lucky...

Cheers,

Dave.

Signature · 7 lines
Dave Chinner
[email protected]

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

author
#3 lore raw
In reply to Stan Hoeppner

Thank you to Stan and Dave for helping me through this.

Ok, here's the file, printed below.

Basically, I'm running the following commands under Ubuntu 12.10:

Type mkdir /mnt/fp
Type mkdir /mnt/hr20
Type mount -t xfs -o rtdev=/dev/sda3 /dev/sda2 /mnt/fp Type mount -t xfs -o rtdev=/dev/sdb3 /dev/sdb2 /mnt/hr20 Type xfsdump -J - /mnt/hr20 | xfsrestore -J - /mnt/fp

When run, I get this as my output:

xfsdump: WARNING: write to stdio failed: 32 (Broken pipe)
xfsdump: ending media file
xfsdump: media file size 18874368 bytes
xfsdump: dump size (non-dir files) : 13698056 bytes
xfsdump: NOTE: dump interrupted: 16 seconds elapsed
xfsdump: Dump Status: INTERRUPT

This happens each time. In the forum where this copy procedure was suggested, they've been reporting that the latest xfsprogs is creating these errors, which didn't happen under at least somewhat earlier versions.

The version of xfsprogs should be in the file, but it was just downloaded a few days ago using git.

Best,
Jeffrey

xfs requested data file:

kernel version: Linux jeffrey 3.5.0-18-generic #29-Ubuntu SMP Fri Oct 19 10:27:31 UTC 2012 i686 i686 i686 GNU/Linux

xfsprogs version: xfs_repair version 3.1.8

number of CPU's: 8

contents of /proc/meminfo:

MemTotal:        6184324 kB
MemFree:         4986560 kB
Buffers:           32036 kB
Cached:           446368 kB
SwapCached:            0 kB
Active:           680296 kB
Inactive:         402548 kB
Active(anon):     612444 kB
Inactive(anon):      368 kB
Active(file):      67852 kB
Inactive(file):   402180 kB
Unevictable:       32596 kB
Mlocked:           32596 kB
HighTotal:       5365768 kB
HighFree:        4264648 kB
LowTotal:         818556 kB
LowFree:          721912 kB
SwapTotal:       1023996 kB
SwapFree:        1023996 kB
Dirty:              1484 kB
Writeback:             0 kB
AnonPages:        637224 kB
Mapped:           148540 kB
Shmem:              1284 kB
Slab:              36908 kB
SReclaimable:      16864 kB
SUnreclaim:        20044 kB
KernelStack:        3664 kB
PageTables:         8296 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     4116156 kB
Committed_AS:    3172256 kB
VmallocTotal:     122880 kB
VmallocUsed:       13156 kB
VmallocChunk:     104244 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:        8184 kB
DirectMap2M:      905216 kB

contents of /proc/mounts:
rootfs / rootfs rw 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
udev /dev devtmpfs rw,relatime,size=3084428k,nr_inodes=200772,mode=755 0 0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /run tmpfs rw,nosuid,relatime,size=1236868k,mode=755 0 0 /dev/disk/by-uuid/e33b147d-faaa-4e55-8f3b-2fb2d3168053 / ext4 rw,relatime,errors=remount-ro,data=ordered 0 0
none /sys/fs/fuse/connections fusectl rw,relatime 0 0
none /sys/kernel/debug debugfs rw,relatime 0 0
none /sys/kernel/security securityfs rw,relatime 0 0
none /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0 none /run/shm tmpfs rw,nosuid,nodev,relatime 0 0
none /run/user tmpfs rw,nosuid,nodev,noexec,relatime,size=102400k,mode=755 0 0
gvfsd-fuse /run/user/jeffrey/gvfs fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0

contents of /proc/partitions:
major minor #blocks name

  11        0    1048575 sr0
   8        0 1953514584 sda
   8        1     530113 sda1
   8        2   15735664 sda2
   8        3 1937246216 sda3
   8       16  488386584 sdb
   8       17     530113 sdb1
   8       18   15735664 sdb2
   8       19  472118216 sdb3
   8       32 1953514584 sdc
   8       33    1024000 sdc1
   8       34 1952489258 sdc2

11 1 1048575 sr1

RAID Layout: no Raid

LVM Configuration: Sorry, I didn't have the education to get this information.

Type of discs: 2 3.5² SATA drives, 1 half-height SATA.

hdparm results:

/dev/sda:

ATA device, with non-removable media

    Model Number:       Hitachi HDS723020BLA642
    Serial Number:      MN1240FA04NWHD
    Firmware Revision:  MN6OA800
    Transport:          Serial, ATA8-AST, SATA 1.0a, SATA II Extensions,
SATA Rev 2.5, SATA Rev 2.6; Revision: ATA8-AST T13 Project D1697 Revision 0b
Standards: 
    Used: unknown (minor revision code 0x0029)
    Supported: 8 7 6 5
    Likely used: 8 

Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 3907029168
Logical Sector size: 512 bytes
Physical Sector size: 512 bytes
device size with M = 1024*1024: 1907729 MBytes
device size with M = 1000*1000: 2000398 MBytes (2000 GB)
cache/buffer size = unknown
Form Factor: 3.5 inch
Nominal Media Rotation Rate: 7200
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 0
Advanced power management level: disabled
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* NOP cmd
* DOWNLOAD_MICROCODE
Advanced Power Management feature set
Power-Up In Standby feature set
* SET_FEATURES required to spinup after power up
* SET_MAX security extension
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
Media Card Pass-Through
* General Purpose Logging feature set
* WRITE_{DMA|MULTIPLE}_FUA_EXT
* 64-bit World wide name
* URG for READ_STREAM[_DMA]_EXT
* URG for WRITE_STREAM[_DMA]_EXT
* WRITE_UNCORRECTABLE_EXT command
* {READ,WRITE}_DMA_EXT_GPL commands
* Segmented DOWNLOAD_MICROCODE
unknown 119[7]
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Gen3 signaling speed (6.0Gb/s)
* Native Command Queueing (NCQ)
* Host-initiated interface power management
* Phy event counters
* NCQ priority information
Non-Zero buffer offsets in DMA Setup FIS
DMA Setup Auto-Activate optimization Device-initiated interface power management In-order data delivery
* Software settings preservation
* SMART Command Transport (SCT) feature set
* SCT LBA Segment Access (AC2)
* SCT Error Recovery Control (AC3)
* SCT Features Control (AC4)
* SCT Data Tables (AC5)
Security:
Master password revision code = 65534
supported
not enabled
not locked
frozen
not expired: security count
not supported: enhanced erase
420min for SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 5000cca36ac21fe4
NAA : 5
IEEE OUI : 000cca
Unique ID : 36ac21fe4
Checksum: correct

/dev/sdb:

ATA device, with non-removable media

    Model Number:       ST3500312CS
    Serial Number:      6VV60HXR
    Firmware Revision:  SC13
    Transport:          Serial
Standards: 
    Used: unknown (minor revision code 0x0029)
    Supported: 8 7 6 5
    Likely used: 8 

Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 976773168
Logical/Physical Sector size: 512 bytes
device size with M = 1024*1024: 476940 MBytes
device size with M = 1000*1000: 500107 MBytes (500 GB)
cache/buffer size = 8192 KBytes
Nominal Media Rotation Rate: 5900
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = ?
Advanced power management level: 254
Recommended acoustic management value: 254, current value: 0
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* DOWNLOAD_MICROCODE
* Advanced Power Management feature set
Power-Up In Standby feature set
SET_FEATURES required to spinup after power up
* SET_MAX security extension
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* Media Card Pass-Through
* General Purpose Logging feature set
* 64-bit World wide name
Write-Read-Verify feature set
* WRITE_UNCORRECTABLE_EXT command
* {READ,WRITE}_DMA_EXT_GPL commands
* Segmented DOWNLOAD_MICROCODE
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Native Command Queueing (NCQ)
* Phy event counters
Device-initiated interface power management
* Software settings preservation
* SMART Command Transport (SCT) feature set
* SCT Long Sector Access (AC1)
* SCT Error Recovery Control (AC3)
* SCT Features Control (AC4)
* SCT Data Tables (AC5)
unknown 206[12] (vendor specific)
Security:
Master password revision code = 65534
supported
not enabled
not locked
frozen
not expired: security count
supported: enhanced erase
100min for SECURITY ERASE UNIT. 100min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 5000c500307c5d66

    NAA        : 5 
    IEEE OUI    : 000c50
    Unique ID    : 0307c5d66

Checksum: correct

/dev/sdc:

ATA device, with non-removable media

    Model Number:       Hitachi HDS723020BLA642
    Serial Number:      MN3220F32KR53E
    Firmware Revision:  MN6OA800
    Transport:          Serial, ATA8-AST, SATA 1.0a, SATA II Extensions,
SATA Rev 2.5, SATA Rev 2.6; Revision: ATA8-AST T13 Project D1697 Revision 0b
Standards: 
    Used: unknown (minor revision code 0x0029)
    Supported: 8 7 6 5
    Likely used: 8 

Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 3907029168
Logical Sector size: 512 bytes
Physical Sector size: 512 bytes
device size with M = 1024*1024: 1907729 MBytes
device size with M = 1000*1000: 2000398 MBytes (2000 GB)
cache/buffer size = unknown
Form Factor: 3.5 inch
Nominal Media Rotation Rate: 7200
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 0
Advanced power management level: disabled
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* NOP cmd
* DOWNLOAD_MICROCODE
Advanced Power Management feature set
Power-Up In Standby feature set
* SET_FEATURES required to spinup after power up
* SET_MAX security extension
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
Media Card Pass-Through
* General Purpose Logging feature set
* WRITE_{DMA|MULTIPLE}_FUA_EXT
* 64-bit World wide name
* URG for READ_STREAM[_DMA]_EXT
* URG for WRITE_STREAM[_DMA]_EXT
* WRITE_UNCORRECTABLE_EXT command
* {READ,WRITE}_DMA_EXT_GPL commands
* Segmented DOWNLOAD_MICROCODE
unknown 119[7]
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Gen3 signaling speed (6.0Gb/s)
* Native Command Queueing (NCQ)
* Host-initiated interface power management
* Phy event counters
* NCQ priority information
Non-Zero buffer offsets in DMA Setup FIS
DMA Setup Auto-Activate optimization Device-initiated interface power management In-order data delivery
* Software settings preservation
* SMART Command Transport (SCT) feature set
* SCT LBA Segment Access (AC2)
* SCT Error Recovery Control (AC3)
* SCT Features Control (AC4)
* SCT Data Tables (AC5)
Security:
Master password revision code = 65534
supported
not enabled
not locked
frozen
not expired: security count
not supported: enhanced erase
456min for SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 5000cca369e43c85
NAA : 5
IEEE OUI : 000cca
Unique ID : 369e43c85
Checksum: correct

Size of BBWC and Mode: Again, sorry, I couldn't find how to get this.

xfs_info:

root@jeffrey:~# xfs_info /mnt/fp
meta-data=/dev/sda2              isize=256    agcount=16, agsize=245869 blks
         =                       sectsz=512   attr=0
data     =                       bsize=4096   blocks=3933904, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0
log      =internal               bsize=4096   blocks=2560, version=1
         =                       sectsz=512   sunit=0 blks, lazy-count=0
realtime =external               extsz=1048576 blocks=484311554,
rtextents=1891842
root@jeffrey:~# xfs_info /mnt/hr20
meta-data=/dev/sdb2              isize=256    agcount=16, agsize=245869 blks
         =                       sectsz=512   attr=0
data     =                       bsize=4096   blocks=3933904, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0
log      =internal               bsize=4096   blocks=2560, version=1
         =                       sectsz=512   sunit=0 blks, lazy-count=0
realtime =external               extsz=1048576 blocks=118029554,
rtextents=461052

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#4 lore raw
Quoted 12 lines · J. Ellis

Thank you to Stan and Dave for helping me through this.

Ok, here's the file, printed below.

Basically, I'm running the following commands under Ubuntu 12.10:

Type mkdir /mnt/fp
Type mkdir /mnt/hr20
Type mount -t xfs -o rtdev=/dev/sda3 /dev/sda2 /mnt/fp Type mount -t xfs -o rtdev=/dev/sdb3 /dev/sdb2 /mnt/hr20 Type xfsdump -J - /mnt/hr20 | xfsrestore -J - /mnt/fp

Quoted 3 lines

When run, I get this as my output:

xfsdump: WARNING: write to stdio failed: 32 (Broken pipe)

FWIW, this implies that xfsrestore failed. What is the output from xfsrestore? Can you just run xfsdump to a file?

Also, the dmesg output is missing - can you attach it?

Cheers,

Dave.

Signature · 7 lines
Dave Chinner
[email protected]

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#5 lore raw

Hi, Dave--

Quoted 2 lines

FWIW, this implies that xfsrestore failed. What is the output from xfsrestore? Can you just run xfsdump to a file?

Can you tell me how to do that and dmesg?

Best,
J.

Quoted 17 lines · Dave Chinner
Quoted 12 lines · J. Ellis

Thank you to Stan and Dave for helping me through this.

Ok, here's the file, printed below.

Basically, I'm running the following commands under Ubuntu 12.10:

Type mkdir /mnt/fp
Type mkdir /mnt/hr20
Type mount -t xfs -o rtdev=/dev/sda3 /dev/sda2 /mnt/fp Type mount -t xfs -o rtdev=/dev/sdb3 /dev/sdb2 /mnt/hr20 Type xfsdump -J - /mnt/hr20 | xfsrestore -J - /mnt/fp

Quoted 3 lines

When run, I get this as my output:

xfsdump: WARNING: write to stdio failed: 32 (Broken pipe)

Quoted 16 lines

FWIW, this implies that xfsrestore failed. What is the output from xfsrestore? Can you just run xfsdump to a file?

Also, the dmesg output is missing - can you attach it?

Cheers,

Dave.

Signature · 7 lines
Dave Chinner
[email protected]

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

author
#9 lore raw
In reply to J. Ellis

Hi, Dave & Stan, et al--

Are you guys getting this post? I don't see it showing up on the list and have had no responses. I'm wondering if the size of the text of the requested xfs info I had added is causing an issue getting it posted.

If not, here's a repost, using a link to the file instead.

http://dhnet.us/xfs/xfs_data_file.odt

Best,
Jeffrey

Quoted 25 lines · on 12/3/12 11:49 AM, Jeffrey Ellis at [email protected] wrote:

Thank you to Stan and Dave for helping me through this.

Ok, here's the file, printed below.

Basically, I'm running the following commands under Ubuntu 12.10:

Type mkdir /mnt/fp
Type mkdir /mnt/hr20
Type mount -t xfs -o rtdev=/dev/sda3 /dev/sda2 /mnt/fp Type mount -t xfs -o rtdev=/dev/sdb3 /dev/sdb2 /mnt/hr20 Type xfsdump -J - /mnt/hr20 | xfsrestore -J - /mnt/fp

When run, I get this as my output:

xfsdump: WARNING: write to stdio failed: 32 (Broken pipe)
xfsdump: ending media file
xfsdump: media file size 18874368 bytes
xfsdump: dump size (non-dir files) : 13698056 bytes
xfsdump: NOTE: dump interrupted: 16 seconds elapsed
xfsdump: Dump Status: INTERRUPT

This happens each time. In the forum where this copy procedure was suggested, they've been reporting that the latest xfsprogs is creating these errors, which didn't happen under at least somewhat earlier versions.

Quoted 5 lines

The version of xfsprogs should be in the file, but it was just downloaded a few days ago using git.

Best,
Jeffrey

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#10 lore raw
Quoted 5 lines · J. Ellis

Hi, Dave & Stan, et al--

Are you guys getting this post? I don't see it showing up on the list and have had no responses. I'm wondering if the size of the text of the requested xfs info I had added is causing an issue getting it posted.

You need to acclimate yourself to the environment/culture of FLOSS mailing lists. First, don't be giddy. Responses to users will rarely be immediate. People, both devs and fellow users, contribute help on an "as time permits" basis. You are not paying for support here. I've seen some msgs go unanswered for a week or more, both initial requests and follow ups. I short, don't expect rapid responses and individual hand holding.

Quoted 3 lines

If not, here's a repost, using a link to the file instead.

http://dhnet.us/xfs/xfs_data_file.odt

Regarding what you think may be lost mail, using an office document format is not wise, though I don't know if it's allowed here or not. In general, with FLOSS lists, use plain text, always, whether inline or attachment. Try not to reference external links as this list is archived by many sites. Get it all in the archives.

Finally, if you sent me a direct email and my server rejected it you would receive an NDR pretty quickly. And I don't see any msgs from you in my spam tagged folder.

Signature · 6 lines
Stan

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#11 lore raw

Hi, Stan--

Ah, sorry.

I actually tried sending it to you, Dave and the list by attachment and by including the text in the email. So it looks like this is the only way it got through. Should I try reposting a version with just the text again?

Best,
J.

Quoted 25 lines · Stan Hoeppner
Quoted 5 lines · J. Ellis

Hi, Dave & Stan, et al--

Are you guys getting this post? I don't see it showing up on the list and have had no responses. I'm wondering if the size of the text of the requested xfs info I had added is causing an issue getting it posted.

You need to acclimate yourself to the environment/culture of FLOSS mailing lists. First, don't be giddy. Responses to users will rarely be immediate. People, both devs and fellow users, contribute help on an "as time permits" basis. You are not paying for support here. I've seen some msgs go unanswered for a week or more, both initial requests and follow ups. I short, don't expect rapid responses and individual hand holding.

Quoted 3 lines

If not, here's a repost, using a link to the file instead.

http://dhnet.us/xfs/xfs_data_file.odt

Regarding what you think may be lost mail, using an office document format is not wise, though I don't know if it's allowed here or not. In general, with FLOSS lists, use plain text, always, whether inline or attachment. Try not to reference external links as this list is archived by many sites. Get it all in the archives.

Quoted 7 lines

Finally, if you sent me a direct email and my server rejected it you would receive an NDR pretty quickly. And I don't see any msgs from you in my spam tagged folder.

Signature · 1 line
Stan

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#6 lore raw
In reply to Jeffrey Ellis

On 12/3/2012 4:27 PM, Jeffrey Ellis wrote:

xfs_info output and this below is all that is needed at this point.

Quoted 4 lines
Quoted 2 lines

FWIW, this implies that xfsrestore failed. What is the output from xfsrestore? Can you just run xfsdump to a file?

Can you tell me how to do that and dmesg?

The command you posted

xfsdump -J - /mnt/hr20 | xfsrestore -J - /mnt/fp

pipes the output from xfsdump into xfsrestore. This error

xfsdump: WARNING: write to stdio failed: 32 (Broken pipe)

tells us something broke while piping into xfsrestore, possibly xfsrestore itself. I believe what Dave is asking you is to xfsdump to a file, then xfsrestore that file. In two separate operations. This should tell us more about where the problem is.

Regarding dmesg information, simply do

~$ dmesg

and copy the output into your email. It should be a few screen fulls starting with something like:

Linux version 3.2.6 (root@greer) (gcc version 4.4.5 (Debian 4.4.5-8) ) #1 SMP Mon Feb 20 17:05:10 CST 2012

WRT xfs_info:

~$ cat /etc/mtab
...
/dev/sda6 /home xfs rw 0 0
...

~$ xfs_info /dev/sda6

meta-data=/dev/sda6         isize=256    agcount=4, agsize=6103694 blks
         =                  sectsz=512   attr=2
data     =                  bsize=4096   blocks=24414775, imaxpct=25
         =                  sunit=0      swidth=0 blks
naming   =version 2         bsize=4096   ascii-ci=0
log      =internal          bsize=4096   blocks=11921, version=2
         =                  sectsz=512   sunit=0 blks, lazy-count=0
realtime =none              extsz=4096   blocks=0, rtextents=0
Signature · 6 lines
Stan

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
author
#7 lore raw

Hi, Stan--

Ok, I truly apologize for my ignorance, but I don't know how to dump the contents to a file. Is it something like:

xfsdump -J - somefile_xfsdump.txt
xfsrestore -J - somefile_xfsrestore.txt

?

Best,
J.

Quoted 40 lines · on 12/4/12 7:32 PM, Stan Hoeppner at [email protected] wrote:

On 12/3/2012 4:27 PM, Jeffrey Ellis wrote:

xfs_info output and this below is all that is needed at this point.

Quoted 4 lines
Quoted 2 lines

FWIW, this implies that xfsrestore failed. What is the output from xfsrestore? Can you just run xfsdump to a file?

Can you tell me how to do that and dmesg?

The command you posted

xfsdump -J - /mnt/hr20 | xfsrestore -J - /mnt/fp

pipes the output from xfsdump into xfsrestore. This error

xfsdump: WARNING: write to stdio failed: 32 (Broken pipe)

tells us something broke while piping into xfsrestore, possibly xfsrestore itself. I believe what Dave is asking you is to xfsdump to a file, then xfsrestore that file. In two separate operations. This should tell us more about where the problem is.

Regarding dmesg information, simply do

~$ dmesg

and copy the output into your email. It should be a few screen fulls starting with something like:

Linux version 3.2.6 (root@greer) (gcc version 4.4.5 (Debian 4.4.5-8) ) #1 SMP Mon Feb 20 17:05:10 CST 2012

WRT xfs_info:

~$ cat /etc/mtab
...
/dev/sda6 /home xfs rw 0 0
...

~$ xfs_info /dev/sda6

Quoted 9 lines
meta-data=/dev/sda6         isize=256    agcount=4, agsize=6103694 blks
         =                  sectsz=512   attr=2
data     =                  bsize=4096   blocks=24414775, imaxpct=25
         =                  sunit=0      swidth=0 blks
naming   =version 2         bsize=4096   ascii-ci=0
log      =internal          bsize=4096   blocks=11921, version=2
         =                  sectsz=512   sunit=0 blks, lazy-count=0
realtime =none              extsz=4096   blocks=0, rtextents=0

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#8 lore raw
Quoted 6 lines · J. Ellis

Hi, Stan--

Ok, I truly apologize for my ignorance, but I don't know how to dump the contents to a file. Is it something like:

xfsdump -J - somefile_xfsdump.txt

~$ man xfsdump

Look at option "-f".

Quoted 1 line

xfsrestore -J - somefile_xfsrestore.txt

~$ man xfsrestore

See options "-f" "-t" and "-v".

The point of this exercise I believe is to see what errors are thrown by xfsdump or xfsrestore when they are executed independently, vs through a pipe. Do note that this may not be the final step in testing before you have an answer. Post any errors or informational output that results from these commands.

Note that the file written by xfsdump is going to be about the same size as the filesystem being dumped. I.e. if the filesystem being dumped is 1TB then you need 1TB of free space on the device where the target directory resides--you're dumping an entire XFS filesystem into a single file. Also, be sure to use "-t" so xfsrestore doesn't actually write anything. Did you read "-v"?

Signature · 6 lines
Stan

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#12 lore raw
In reply to Jeffrey Ellis
Quoted 8 lines · Jeffrey Ellis

Hi, Stan--

Ah, sorry.

I actually tried sending it to you, Dave and the list by attachment and by including the text in the email. So it looks like this is the only way it got through. Should I try reposting a version with just the text again?

No, please don't. Everything you have sent has got through.

If you really, want to know if something got through to the list, go an look at the list archives on one of the many list archive sites availble. e.g. here's the entire thread:

http://marc.info/?t=135437797000003&r=1&w=2

Cheers,

Dave.

Signature · 7 lines
Dave Chinner
[email protected]

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs