<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><br><div><font style="font-size: 8pt;" size="1">> Date: Sun, 12 Oct 2014 10:20:08 -0400</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> From: bfoster@redhat.com</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> To: tom_in_canada@hotmail.com</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> CC: xfs@oss.sgi.com</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> Subject: Re: Mount: Structure needs cleaning</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> </font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> On Sun, Oct 12, 2014 at 01:43:28AM -0700, tommason wrote:</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > Hi,</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > </font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > First up - my knowledge of linux is pretty sparse - I've used it a few times</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > before, so please be gentle!</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > </font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > I've had a neil poulton network space for some time now - it freaked out a</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > while ago and I managed to rig it up to a Ubuntu liveCD via a SATA dock and</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > rescue the files.</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > </font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > This has now happened again - the drive would not get out of a cycle and was</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > not spinning properly. Bring out the dock and liveCD (this time Knoppix).</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > All good. This time however as I eagerly copied files to another drive (a</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > USB powered lacie rugged thing) and left it overnight i woke up to an error.</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > I was copying around 500GB in a few diffferent chunks. The first error it</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > reported was I think error 15? mount structure needs cleaning...</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> Logs? Kernel version? etc.</font><br><br><br><font style="font-size: 10pt;" size="2">Hey Brian,<br></font><font style="font-size: 10pt;" size="2">Apologies!</font><font style="font-size: 10pt;" size="2"> </font><font style="font-size: 10pt;" size="2">I'm pretty new to all this so you'll have to walk me through it if possible - how do I check the logs?<br><br></font><font style="font-size: 10pt;" size="2">- Linux ubuntu 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux</font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2">- xfs_repair version </font><font style="font-size: 10pt;" size="2">3.1.9</font><br><br><br><font style="font-size: 8pt;" size="1">> </font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> http://xfs.org/index.php/XFS_FAQ#Q:_What_information_should_I_include_when_reporting_a_problem.3F</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> </font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > I then tried with a Ubuntu liveCD - same error. This is maybe where I made a</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > bit of an error of my own. In an attempt to shake it out of it's stupor I</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > 'stupidly' plugged it into windows and opened up the disk utility (sorry I'm</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > generally mac based) and deleted in total 5 partitions (3x8mb, 1x250odd mb &</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > 1x600mbish partition) This left the partition that I assumed contained all</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > my files: a 920GB partition. Tried to look at it again on Linux & (both</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > Knoppix & Ubuntu) and the error message had changed slightly. It now reads:</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > "Error mounting /dev/sdc2 at</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > /media/ubuntu/e8b90eb2-8718-4964-939d-8a2b899b68bd: Command-line `mount -t</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > "xfs" -o "uhelper=udisks2,nodev,nosuid" "/dev/sdc2"</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > "/media/ubuntu/e8b90eb2-8718-4964-939d-8a2b899b68bd"' exited with non-zero</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > exit status 32: mount: Structure needs cleaning"</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1"><br><br></font><font style="font-size: 8pt;" size="1">> To be clear, you've deleted partitions other than the partition of</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> interest? I suppose that shouldn't effect things either way, but I'm not</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> really sure what the disk utility might do. It might be worth checking</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> whether 'file -s <device>' still identifies the partition as an XFS</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> filesystem..?</font><font style="font-size: 8pt;" size="1"><br><br><br><font style="font-size: 10pt;" size="2">Yes it's a NAS drive and so I assume had some kind of proprietary OS on the other partitions (this is where i </font><font style="font-size: 10pt;" size="2">might have messed up by deleting?!) I'm pretty sure that the drive in bold below (sdc2) is the one I'm after which is xfs...<br><font style="font-size: 8pt;" size="1"><br></font></font><font style="font-size: 10pt;">ubuntu@ubuntu:~$ sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL</font><font style="font-size: 10pt;"><br></font><font style="font-size: 10pt;">NAME   FSTYPE     SIZE MOUNTPOINT LABEL</font><font style="font-size: 10pt;"><br></font><font style="font-size: 10pt;">sda             596.2G            </font><font style="font-size: 10pt;"><br></font><font style="font-size: 10pt;">†€sda1 vfat       200M            EFI</font><font style="font-size: 10pt;"><br></font><font style="font-size: 10pt;">†€sda2 hfsplus  491.8G            Macintosh HD</font><font style="font-size: 10pt;"><br></font><font style="font-size: 10pt;">†€sda3 hfsplus  619.9M            Recovery HD</font><font style="font-size: 10pt;"><br></font><font style="font-size: 10pt;">„€sda4 ntfs     103.6G            </font><font style="font-size: 10pt;"><br></font><font style="font-size: 10pt;">sdc             931.5G            </font><font style="font-size: 10pt;"><br></font><font style="font-size: 10pt;">†€sdc1              1K            </font><font style="font-size: 10pt;"><br></font><font style="font-size: 10pt;"><b>„€sdc2 xfs      930.6G   </b></font><font style="font-size: 10pt;">         </font><font style="font-size: 10pt;"><br></font><font style="font-size: 10pt;">sr0    iso9660    981M /cdrom     Ubuntu 14.04.1 LTS amd64</font><font style="font-size: 10pt;"><br></font><font style="font-size: 10pt;">loop0  squashfs 938.7M /rofs<br><br></font><font style="font-size: 10pt;"></font>& This:<br><br>ubuntu@ubuntu:~$ sudo fdisk -l<br><br>WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.<br><br><br>Disk /dev/sda: 640.1 GB, 640135028736 bytes<br>255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 sectors<br>Units = sectors of 1 * 512 = 512 bytes<br>Sector size (logical/physical): 512 bytes / 512 bytes<br>I/O size (minimum/optimal): 512 bytes / 512 bytes<br>Disk identifier: 0x34873486<br><br>   Device Boot      Start         End      Blocks   Id  System<br>/dev/sda1               1      409639      204819+  ee  GPT<br>/dev/sda2          409640  1031659623   515624992   af  HFS / HFS+<br>/dev/sda3      1031659624  1032929167      634772   ab  Darwin boot<br>/dev/sda4   *  1032929280  1250263039   108666880    7  HPFS/NTFS/exFAT<br><br>Disk /dev/sdb: 500.1 GB, 500107862016 bytes<br>255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors<br>Units = sectors of 1 * 512 = 512 bytes<br>Sector size (logical/physical): 512 bytes / 512 bytes<br>I/O size (minimum/optimal): 512 bytes / 512 bytes<br>Disk identifier: 0x1734c26c<br><br>   Device Boot      Start         End      Blocks   Id  System<br>/dev/sdb1               2   976773167   488386583    b  W95 FAT32<br><br>Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes<br>255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors<br>Units = sectors of 1 * 512 = 512 bytes<br>Sector size (logical/physical): 512 bytes / 512 bytes<br>I/O size (minimum/optimal): 512 bytes / 512 bytes<br>Disk identifier: 0xb06a2add<br><br>   Device Boot      Start         End      Blocks   Id  System<br>/dev/sdc1              63     2008124     1004031    5  Extended<br>/dev/sdc2         2008125  1953520064   975755970   83  Linux<br><br><br></font><font style="font-size: 8pt;" size="1">> </font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> Beyond that, I'd suggest to capture and post the logs of the failed</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> mount and perhaps the output of 'xfs_repair -n <dev>.' This will attempt</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> a dry-run (e.g., no modifications) check and repair of the filesystem.</font><font style="font-size: 8pt;" size="1"><br></font><br><font style="font-size: 10pt;" size="2">Apologies again but you'd have to walk me through the process of exactly what to type in - as I say I'm really not very experienced with Linux/ubuntu & terminal</font>!<br><font style="font-size: 10pt;" size="2">Cheers!</font><font style="font-size: 10pt;" size="2"><br></font><font style="font-size: 10pt;" size="2">Tom</font><br><br><font style="font-size: 8pt;" size="1"></font><font style="font-size: 8pt;" size="1">> Brian</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> </font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > This drive has all my audio and video stored on it! Any help to move me</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > toward a solution would be much appreciated!</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > </font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > Thanks for your time...</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > </font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > Tom </font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > </font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > </font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > </font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > --</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > View this message in context: http://xfs.9218.n7.nabble.com/Mount-Structure-needs-cleaning-tp35026.html</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > Sent from the Xfs - General mailing list archive at Nabble.com.</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > </font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > _______________________________________________</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > xfs mailing list</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > xfs@oss.sgi.com</font><font style="font-size: 8pt;" size="1"><br></font><font style="font-size: 8pt;" size="1">> > http://oss.sgi.com/mailman/listinfo/xfs</font><br></div>                                          </div></body>
</html>