I recently moved my Amahi 7 install over to Xenserver. I then configured Xenserver to allow the greyhole pool drives to be added to my VM. While moving some things around today I noticed that my local samba share mounts are reporting space in a very odd fashion. I shoudl have about 6 tb of free space at the moment. For some reason I see the following output with a df -h command:
Code: Select all
Filesystem Size Used Avail Use% Mounted on
/dev/xvda3 27G 8.0G 18G 32% /
devtmpfs 3.4G 0 3.4G 0% /dev
tmpfs 3.4G 4.0K 3.4G 1% /dev/shm
tmpfs 3.4G 296K 3.4G 1% /run
tmpfs 3.4G 0 3.4G 0% /sys/fs/cgroup
tmpfs 3.4G 232K 3.4G 1% /tmp
/dev/xvdc1 2.8T 419G 2.2T 16% /var/hda/files/drives/drive2
/dev/xvde1 459G 28G 408G 7% /var/hda/files/drives/drive3
/dev/xvdb1 2.8T 155G 2.5T 6% /var/hda/files/drives/drive1
/dev/xvdf1 917G 652G 219G 75% /mnt/backup
/dev/xvda1 190M 124M 53M 71% /boot
none 4.0M 0 4.0M 0% /var/spool/greyhole/mem
//127.0.0.1/Backups 917G 699G 219G 77% /mnt/samba/Backups
//127.0.0.1/Books 6.0T 904G 5.1T 15% /mnt/samba/Books
//127.0.0.1/Crashplan 917G 699G 219G 77% /mnt/samba/Crashplan
//127.0.0.1/Docs 27G 9.4G 18G 36% /mnt/samba/Docs
//127.0.0.1/Movies 27G 9.4G 18G 36% /mnt/samba/Movies
//127.0.0.1/Music 27G 9.4G 18G 36% /mnt/samba/Music
//127.0.0.1/Pictures 27G 9.4G 18G 36% /mnt/samba/Pictures
//127.0.0.1/Public 27G 9.4G 18G 36% /mnt/samba/Public
//127.0.0.1/Shared_Photos 27G 9.4G 18G 36% /mnt/samba/Shared_Photos
//127.0.0.1/Software 27G 9.4G 18G 36% /mnt/samba/Software
//127.0.0.1/TV 27G 9.4G 18G 36% /mnt/samba/TV
//127.0.0.1/Videos 27G 9.4G 18G 36% /mnt/samba/Videos
a few smb.conf entries
[[Books]
comment = Books
path = /var/hda/files/books
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
dfree command = /usr/bin/greyhole-dfree^M
vfs objects = greyhole]
[Music]
comment = Music
path = /var/hda/files/music
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
free command = /usr/bin/greyhole-dfree^M
vfs objects = greyhole
[Pictures]
comment = Pictures
path = /var/hda/files/pictures
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775
free command = /usr/bin/greyhole-dfree^M
vfs objects = greyhole[/code]
My greyhole.conf pertinent info:
Code: Select all
[storage_pool_drive = /var/hda/files/drives/drive1/gh, min_free: 10gb
storage_pool_drive = /var/hda/files/drives/drive2/gh, min_free: 10gb
storage_pool_drive = /var/hda/files/drives/drive3/gh, min_free: 10gbcode]
fstab entries
[code]#/dev/xvda1 /boot ext3 defaults
UUID=4fc6e3cb-3a13-4eb3-a934-f95100747c88 /boot ext3 defaults
#/dev/xvda3 / ext4 defaults
UUID=40ee544a-36d8-4270-9107-7719d1d3c679 / ext4 defaults
#drive1 Seagate 3tb drive - at top of comp case
#UUID=20cc1bb9-a980-4d51-88b9-2fdc7baad6fd /var/hda/files/drives/drive1 ext4 defaults 1 2
UUID=20cc1bb9-a980-4d51-88b9-2fdc7baad6fd /var/hda/files/drives/drive1 ext4 defaults 1 2
#drive 2 seagate 3tb hard drive - at top of comp case
#UUID=9570416a-af36-4da6-b461-b68b345e4698 /var/hda/files/drives/drive2 ext4 defaults 1 2
UUID=9570416a-af36-4da6-b461-b68b345e4698 /var/hda/files/drives/drive2 ext4 defaults 1 2
#Drive 3 not sure but it is in the top of the hard drive bay
#UUID=1c72b0d2-7f25-46b0-b005-e803d8372299 /var/hda/files/drives/drive3 ext4 defaults 1 2
UUID=1c72b0d2-7f25-46b0-b005-e803d8372299 /var/hda/files/drives/drive3 ext4 defaults 1 2
Has anyone seen anything like this before? I have tried stopping and starting the local mount service, stopping and restarting greyhole with no luck.
Thanks