Greyhole - Missing Files From Shares
Posted: Wed Mar 19, 2014 3:58 pm
Hello,
My OS drive failed on me and I reinstalled Amahi. First I installed the Amahi 7 but after I had some trouble with greyhole I installed the Amahi 6. My configuration is
1x160GB drive IDE -> OS
1x320 GB drive IDE -> LZ
2x500GB drives -> POOL
4x1TB drives -> POOL
What I did to transfer my data was, I connected one drive at a time, copied the data in the LZ, while greyhole was not running and after I activated greyhole, run fsck and waited until greyhole transfered the files from the LZ to the pool.
Now that I finished I find several files missing (I have 2 for sure but I know there are others too), from the shares (when I access them through my Windows machine) but physically the files are there in the drives. I tried greyhole -f -o (find orphaned files) but with no luck.
Any other options I could try?
1. What version of Fedora, Samba & Greyhole are you running?
2.6.35.14-106.fc14.x86_64
samba-3.5.11-79.fc14.x86_64
package amahi-greyhole is not installed
2. The content of the /etc/samba/smb.conf & /etc/greyhole.conf files (provide paste URLs):
When I run this: fpaste /etc/samba/smb.conf and fpaste /etc/greyhole.conf I only get this http://fpaste.org/
3. The result of the following commands:
mount
fdisk -l
df -h
greyhole --stats
greyhole --debug 2\ Fast\ 2\ Furious\ \(2003\).mkv
Note: for the specific file I found a tombstone in drive2/gh_graveyard and another in drive3/gh_graveyard_backup
My OS drive failed on me and I reinstalled Amahi. First I installed the Amahi 7 but after I had some trouble with greyhole I installed the Amahi 6. My configuration is
1x160GB drive IDE -> OS
1x320 GB drive IDE -> LZ
2x500GB drives -> POOL
4x1TB drives -> POOL
What I did to transfer my data was, I connected one drive at a time, copied the data in the LZ, while greyhole was not running and after I activated greyhole, run fsck and waited until greyhole transfered the files from the LZ to the pool.
Now that I finished I find several files missing (I have 2 for sure but I know there are others too), from the shares (when I access them through my Windows machine) but physically the files are there in the drives. I tried greyhole -f -o (find orphaned files) but with no luck.
Any other options I could try?
1. What version of Fedora, Samba & Greyhole are you running?
2.6.35.14-106.fc14.x86_64
samba-3.5.11-79.fc14.x86_64
package amahi-greyhole is not installed
2. The content of the /etc/samba/smb.conf & /etc/greyhole.conf files (provide paste URLs):
When I run this: fpaste /etc/samba/smb.conf and fpaste /etc/greyhole.conf I only get this http://fpaste.org/
3. The result of the following commands:
mount
Code: Select all
/dev/sdg3 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sdg1 on /boot type ext3 (rw)
/dev/sdh1 on /var/hda/files/drives/drive1 type ext4 (rw)
/dev/sda1 on /var/hda/files/drives/drive2 type ext4 (rw)
/dev/sdb1 on /var/hda/files/drives/drive3 type ext4 (rw)
/dev/sdc1 on /var/hda/files/drives/drive4 type ext4 (rw)
/dev/sdd1 on /var/hda/files/drives/drive5 type ext4 (rw)
/dev/sde1 on /var/hda/files/drives/drive6 type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/sdf1 on /var/hda/files/drives/drive17 type ext4 (rw)
Code: Select all
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 63 1953525167 976762552+ 83 Linux
Partition 1 does not start on physical sector boundary.
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xeb3acdf5
Device Boot Start End Blocks Id System
/dev/sdb1 63 976773167 488386552+ 83 Linux
Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xeb3acdee
Device Boot Start End Blocks Id System
/dev/sdc1 63 976773167 488386552+ 83 Linux
Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xce2f6faa
Device Boot Start End Blocks Id System
/dev/sdd1 63 1953525167 976762552+ 83 Linux
Disk /dev/sde: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xce2f6fac
Device Boot Start End Blocks Id System
/dev/sde1 63 1953525167 976762552+ 83 Linux
Disk /dev/sdf: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xeb3acdd5
Device Boot Start End Blocks Id System
/dev/sdf1 63 1953525167 976762552+ 83 Linux
Disk /dev/sdg: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009cb7f
Device Boot Start End Blocks Id System
/dev/sdg1 * 2048 411647 204800 83 Linux
/dev/sdg2 411648 12208127 5898240 82 Linux swap / Solaris
/dev/sdg3 12208128 312580095 150185984 83 Linux
Disk /dev/sdh: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6e306628
Device Boot Start End Blocks Id System
/dev/sdh1 63 625142447 312571192+ 83 Linux
[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdg3 141G 1.9G 132G 2% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
/dev/sdg1 194M 24M 160M 14% /boot
/dev/sdh1 294G 893M 278G 1% /var/hda/files/drives/drive1
/dev/sda1 917G 803G 69G 93% /var/hda/files/drives/drive2
/dev/sdb1 459G 368G 68G 85% /var/hda/files/drives/drive3
/dev/sdc1 459G 368G 68G 85% /var/hda/files/drives/drive4
/dev/sdd1 917G 803G 68G 93% /var/hda/files/drives/drive5
/dev/sde1 917G 200M 871G 1% /var/hda/files/drives/drive6
/dev/sdf1 917G 560G 311G 65% /var/hda/files/drives/drive17
[root@localhost ~]# mount
/dev/sdg3 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sdg1 on /boot type ext3 (rw)
/dev/sdh1 on /var/hda/files/drives/drive1 type ext4 (rw)
/dev/sda1 on /var/hda/files/drives/drive2 type ext4 (rw)
/dev/sdb1 on /var/hda/files/drives/drive3 type ext4 (rw)
/dev/sdc1 on /var/hda/files/drives/drive4 type ext4 (rw)
/dev/sdd1 on /var/hda/files/drives/drive5 type ext4 (rw)
/dev/sde1 on /var/hda/files/drives/drive6 type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/sdf1 on /var/hda/files/drives/drive17 type ext4 (rw)
[root@localhost ~]# fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 63 1953525167 976762552+ 83 Linux
Partition 1 does not start on physical sector boundary.
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xeb3acdf5
Device Boot Start End Blocks Id System
/dev/sdb1 63 976773167 488386552+ 83 Linux
Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xeb3acdee
Device Boot Start End Blocks Id System
/dev/sdc1 63 976773167 488386552+ 83 Linux
Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xce2f6faa
Device Boot Start End Blocks Id System
/dev/sdd1 63 1953525167 976762552+ 83 Linux
Disk /dev/sde: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xce2f6fac
Device Boot Start End Blocks Id System
/dev/sde1 63 1953525167 976762552+ 83 Linux
Disk /dev/sdf: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xeb3acdd5
Device Boot Start End Blocks Id System
/dev/sdf1 63 1953525167 976762552+ 83 Linux
Disk /dev/sdg: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009cb7f
Device Boot Start End Blocks Id System
/dev/sdg1 * 2048 411647 204800 83 Linux
/dev/sdg2 411648 12208127 5898240 82 Linux swap / Solaris
/dev/sdg3 12208128 312580095 150185984 83 Linux
Disk /dev/sdh: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6e306628
Device Boot Start End Blocks Id System
/dev/sdh1 63 625142447 312571192+ 83 Linux
Code: Select all
Filesystem Size Used Avail Use% Mounted on
/dev/sdg3 141G 1.9G 132G 2% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
/dev/sdg1 194M 24M 160M 14% /boot
/dev/sdh1 294G 893M 278G 1% /var/hda/files/drives/drive1
/dev/sda1 917G 803G 69G 93% /var/hda/files/drives/drive2
/dev/sdb1 459G 368G 68G 85% /var/hda/files/drives/drive3
/dev/sdc1 459G 368G 68G 85% /var/hda/files/drives/drive4
/dev/sdd1 917G 803G 68G 93% /var/hda/files/drives/drive5
/dev/sde1 917G 200M 871G 1% /var/hda/files/drives/drive6
/dev/sdf1 917G 560G 311G 65% /var/hda/files/drives/drive17
Code: Select all
Greyhole Statistics
===================
Storage Pool
Total - Used = Free + Attic = Possible
/var/hda/files/drives/drive2/gh: 917G - 802G = 68G + 91G = 159G
/var/hda/files/drives/drive3/gh: 458G - 367G = 68G + 2G = 70G
/var/hda/files/drives/drive4/gh: 458G - 367G = 68G + 1G = 69G
/var/hda/files/drives/drive5/gh: 917G - 803G = 68G + 4G = 72G
==========================================
Total: 2751G - 2339G = 272G + 99G = 371G
Code: Select all
Debugging file operations for file named "/2 Fast 2 Furious (2003).mkv"
From DB
=======
[2014-03-11 22:17:47] Task ID 816838: write Movies/2 Fast 2 Furious (2003)/2 Fast 2 Furious (2003).mkv
[2014-03-14 06:12:55] Task ID 855592: write Movies/2 Fast 2 Furious (2003)/2 Fast 2 Furious (2003).mkv
[2014-03-17 12:50:12] Task ID 1061115: fsck_file Movies/2 Fast 2 Furious (2003)/2 Fast 2 Furious (2003).mkv
[2014-03-17 12:51:33] Task ID 1126190: fsck_file Movies/2 Fast 2 Furious (2003)/2 Fast 2 Furious (2003).mkv
[2014-03-17 12:51:59] Task ID 1175500: fsck_file Movies/2 Fast 2 Furious (2003)/2 Fast 2 Furious (2003).mkv
From logs
=========
From filesystem
===============
Landing Zone:
lrwxrwxrwx 1 root root 90 Mar 17 19:34 /var/hda/files/drives/drive1/Movies/2 Fast 2 Furious (2003)/2 Fast 2 Furious (2003).mkv -> /var/hda/files/drives/drive2/gh/Movies/2 Fast 2 Furious (2003)/2 Fast 2 Furious (2003).mkv
Graveyard:
File copies:
-rwxrw-r-- 1 admin users 8533317306 Jul 14 2009 /var/hda/files/drives/drive2/gh/Movies/2 Fast 2 Furious (2003)/2 Fast 2 Furious (2003).mkv