Something Happened....

jstutman
Posts: 2
Joined: Sun Jan 16, 2011 9:25 am

Something Happened....

Postby jstutman » Sun Jan 23, 2011 11:49 pm

Greyhole contains two Shares
HD and Music

The Music share contains no issue.
The HD share contains no symlinks, and
greyhole --fsck does nothing

The (actual) files all appear to be in the /gh

*My guess is that I somehow need to have greyhole rebuild all the links, since the actual files are still located in the pool?

Code: Select all

2.6.32.14-127.fc12.x86_64 samba-3.4.7-58.fc12.x86_64 hda-greyhole-0.8.3-2.x86_64

http://fpaste.org/kIjE/

http://fpaste.org/3rXw/

Code: Select all

/dev/sda1 on / type ext3 (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/sdc1 on /var/hda/files type ext4 (rw) /dev/sdb1 on /var/hda/files 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) //127.0.0.1/HD on /mnt/samba/HD type cifs (rw,mand) //127.0.0.1/music on /mnt/samba/music type cifs (rw,mand) Disk /dev/sda: 250.1 GB, 250058268160 bytes 45 heads, 63 sectors/track, 172273 cylinders Units = cylinders of 2835 * 512 = 1451520 bytes Disk identifier: 0x1d11e5a9 Device Boot Start End Blocks Id System /dev/sda1 * 1 170840 242165329+ 83 Linux /dev/sda2 170840 172273 2031616 82 Linux swap / Solaris Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x7a8254e5 Device Boot Start End Blocks Id System /dev/sdb1 1 243201 1953512001 83 Linux Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdc1 1 243201 1953512001 83 Linux Filesystem Size Used Avail Use% Mounted on /dev/sda1 228G 2.1G 214G 1% / tmpfs 491M 0 491M 0% /dev/shm /dev/sdc1 1.8T 63G 1.7T 4% /var/hda/files /dev/sdb1 1.8T 63G 1.7T 4% /var/hda/files //127.0.0.1/HD 1.8T 156G 1.7T 9% /mnt/samba/HD //127.0.0.1/music 1.8T 156G 1.7T 9% /mnt/samba/music Greyhole Statistics =================== Storage Pool Total - Used = Free + Attic = Possible /var/hda/files/gh: 1834G - 62G = 1678G + 0G = 1678G
+----+----------------+--------------+---------------------+---------------------+
| id | path | minimum_free | created_at | updated_at |
+----+----------------+--------------+---------------------+---------------------+
| 7 | /var/hda/files | 10 | 2011-01-16 14:58:58 | 2011-01-16 14:58:58 |
+----+----------------+--------------+---------------------+---------------------+

http://fpaste.org/6mL7/

Greyhole Work Queue Statistics
==============================

This table gives you the number of pending operations queued for the Greyhole daemon, per share.

Write Delete Rename
HD 0 0 0
music 0 0 0
=======
Total 0 + 0 + 0 = 0

The following is the number of pending operations that the Greyhole daemon still needs to parse.
Until it does, the nature of those operations is unknown.
Spooled operations that have been parsed will be listed above and disappear from the count below.

Spooled 0

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Something Happened....

Postby gboudreau » Mon Jan 24, 2011 4:22 am

1. How did you add the files in gh/HD ?
For fsck to work, it either needs for the files be in the shared path (/var/hda/files/HD), or the files needs to have been added into the gh folder by Greyhole. Just having the files inside gh to start with will not work (that's a future GH improvement).
Maybe this is related to the problem (#2) below. If you didn't intend both drives to mount at the same location, maybe this is what causes this issue.

2. How can you have two drives mounted at the same path ?
Both your sdb and sdc drives are mounted at /var/hda/files:

Code: Select all

/dev/sdc1 1.8T 63G 1.7T 4% /var/hda/files /dev/sdb1 1.8T 63G 1.7T 4% /var/hda/files
This prevents Greyhole from being able to maintain two file copies, one on each drive.
Not sure you wanted this (maybe they are mounted as a software RAID or something..?), but normally, at least one of those drives should be mounted at /var/hda/files/drives/drive1, and you should have both drives selected in the storage pool dashboard page.
If this was unintentional, and would like to fix, manually create the /var/hda/files/drives/drive1 folder, and change your /etc/fstab file to mount either drive there instead of /var/hda/files. Then, you'll need to go in the amahi dashboard storage pool page, select the new drive. Finally, launch a "greyhole--fsck" from a command line.
- Guillaume Boudreau

jstutman
Posts: 2
Joined: Sun Jan 16, 2011 9:25 am

Re: Something Happened....

Postby jstutman » Mon Jan 24, 2011 10:48 pm

Thanks. All issues seams to be solved.

Who is online

Users browsing this forum: No registered users and 25 guests