Project

General

Profile

Bug #894

Greyhole updates - each one needs greyhole to be manually reinstalled before samba functionality is restored.

Added by aphex242 over 8 years ago. Updated over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
04/01/2012
Due date:
% Done:

0%


Description

Per the wiki @ http://wiki.amahi.org/index.php/Greyhole_updating, when installing the newer version, it may be necessary to rerun the install command for Samba to work correctly. I have added the greyhole repository and whenever a new version is released, I automatically lose samba until I run the command ?rpm -Uvh --force http://www.greyhole.net/releases/rpm/`uname -i`/`rpm -qa hda-greyhole`.rpm? again. This isn't a huge problem but if it happened while I was out of town it could be a difficult issue to resolve, and certainly isn't working as intended I'm sure.

Following are all the standard troubleshooting infos you'd want. Thanks!

uname -r; rpm -q samba hda-greyhole
2.6.35.14-106.fc14.x86_64
samba-3.5.11-79.fc14.x86_64
hda-greyhole-0.9.21-1.x86_64

smb.conf @ http://fpaste.org/IU8J/

greyhole.conf @ http://fpaste.org/YsRa/

[root@localhost ~]# mount
/dev/mapper/vg_amahi-lv_root 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/sda1 on /boot type ext4 (rw)
/dev/mapper/vg_amahi-lv_home on /home type ext4 (rw)
/dev/sda3 on /var/hda/files type ext4 (rw)
/dev/sdb1 on /var/hda/files/drives/drive1 type ext4 (rw)
/dev/sdc1 on /var/hda/files/drives/drive2 type ext4 (rw)
/dev/sdd1 on /var/hda/files/drives/drive3 type ext4 (rw)
/dev/sde1 on /var/hda/files/drives/drive4 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)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
gvfs-fuse-daemon on /home/aphex/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=aphex)
//127.0.0.1/Apps on /mnt/samba/Apps type cifs (rw)
//127.0.0.1/Backups on /mnt/samba/Backups type cifs (rw)
//127.0.0.1/Download on /mnt/samba/Download type cifs (rw)
//127.0.0.1/Greyhole Trash on /mnt/samba/Greyhole Trash type cifs (rw)
//127.0.0.1/Junk on /mnt/samba/Junk type cifs (rw)
//127.0.0.1/Movies on /mnt/samba/Movies type cifs (rw)
//127.0.0.1/Music on /mnt/samba/Music type cifs (rw)
//127.0.0.1/Newsgroups on /mnt/samba/Newsgroups type cifs (rw)
//127.0.0.1/Pictures on /mnt/samba/Pictures type cifs (rw)
//127.0.0.1/TV Shows on /mnt/samba/TV Shows type cifs (rw)
//127.0.0.1/Users on /mnt/samba/Users type cifs (rw)
//127.0.0.1/VeronicaMusic on /mnt/samba/VeronicaMusic type cifs (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 / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0003eefb

Device Boot      Start         End      Blocks   Id  System
/dev/sda1 * 2048 1026047 512000 83 Linux
/dev/sda2 1026048 95234047 47104000 8e Linux LVM
/dev/sda3 95234048 1953523711 929144832 83 Linux

Disk /dev/sdb: 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: 0x00000000

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1 63 1953525167 976762552+ 83 Linux

Disk /dev/sdc: 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: 0xf2201942

Device Boot      Start         End      Blocks   Id  System
/dev/sdc1 2048 1953523711 976760832 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: 0x20ba1820

Device Boot      Start         End      Blocks   Id  System
/dev/sdd1 2048 1953523711 976760832 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: 0xaaeb37e6

Device Boot      Start         End      Blocks   Id  System
/dev/sde1 2048 1953523711 976760832 83 Linux

Disk /dev/dm-0: 16.8 GB, 16777216000 bytes
255 heads, 63 sectors/track, 2039 cylinders, total 32768000 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: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 20.9 GB, 20937965568 bytes
255 heads, 63 sectors/track, 2545 cylinders, total 40894464 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: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/dm-2: 10.5 GB, 10502537216 bytes
255 heads, 63 sectors/track, 1276 cylinders, total 20512768 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: 0x00000000

Disk /dev/dm-2 doesn't contain a valid partition table
@

[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_amahi-lv_root
20G 5.4G 13G 30% /
tmpfs 3.0G 264K 3.0G 1% /dev/shm
/dev/sda1 485M 68M 393M 15% /boot
/dev/mapper/vg_amahi-lv_home
9.7G 206M 9.0G 3% /home
/dev/sda3 873G 400G 429G 49% /var/hda/files
/dev/sdb1 917G 430G 442G 50% /var/hda/files/drives/drive1
/dev/sdc1 917G 455G 417G 53% /var/hda/files/drives/drive2
/dev/sdd1 917G 439G 432G 51% /var/hda/files/drives/drive3
/dev/sde1 917G 441G 430G 51% /var/hda/files/drives/drive4
//127.0.0.1/Apps 4.5T 2.4T 2.1T 53% /mnt/samba/Apps
//127.0.0.1/Backups 4.5T 2.4T 2.1T 53% /mnt/samba/Backups
//127.0.0.1/Download 4.5T 2.4T 2.1T 53% /mnt/samba/Download
//127.0.0.1/Greyhole Trash
4.5T 2.4T 2.1T 53% /mnt/samba/Greyhole Trash
//127.0.0.1/Junk 4.5T 2.4T 2.1T 53% /mnt/samba/Junk
//127.0.0.1/Movies 4.5T 2.4T 2.1T 53% /mnt/samba/Movies
//127.0.0.1/Music 4.5T 2.4T 2.1T 53% /mnt/samba/Music
//127.0.0.1/Newsgroups
4.5T 2.4T 2.1T 53% /mnt/samba/Newsgroups
//127.0.0.1/Pictures 4.5T 2.4T 2.1T 53% /mnt/samba/Pictures
//127.0.0.1/TV Shows 4.5T 2.4T 2.1T 53% /mnt/samba/TV Shows
//127.0.0.1/Users 4.5T 2.4T 2.1T 53% /mnt/samba/Users
//127.0.0.1/VeronicaMusic
4.5T 2.4T 2.1T 53% /mnt/samba/VeronicaMusic

@

Greyhole Statistics ===================

Storage Pool
Total - Used = Free + Trash = Possible
/var/hda/files/gh: 872G - 399G = 428G + 0G = 428G
/var/hda/files/drives/drive1/gh: 917G - 429G = 441G + 0G = 441G
/var/hda/files/drives/drive2/gh: 917G - 454G = 416G + 0G = 416G
/var/hda/files/drives/drive3/gh: 917G - 438G = 432G + 0G = 432G
/var/hda/files/drives/drive4/gh: 917G - 441G = 430G + 0G = 430G ==========================================
Total: 4540G - 2162G = 2147G + 0G = 2147G
@

@

[root@localhost ~]# mysql u root -phda -e "select * from disk_pool_partitions" hda_production
---
------------------------------+--------------+---------------------+---------------------+ | id | path | minimum_free | created_at | updated_at |
--------------------------------+--------------+---------------------+---------------------+ | 1 | /var/hda/files | 10 | 2011-03-04 20:03:09 | 2011-03-04 20:03:09 | | 2 | /var/hda/files/drives/drive1 | 10 | 2011-03-04 21:16:51 | 2011-03-04 21:16:51 | | 3 | /var/hda/files/drives/drive2 | 10 | 2011-03-19 18:15:50 | 2011-03-19 18:15:50 | | 4 | /var/hda/files/drives/drive3 | 10 | 2011-03-19 18:22:57 | 2011-03-19 18:22:57 | | 5 | /var/hda/files/drives/drive4 | 10 | 2011-03-19 18:29:17 | 2011-03-19 18:29:17 |
--------------------------------+--------------+---------------------+---------------------+
@

List of directories of root of drives in pool: http://fpaste.org/zOE7/

The queue and log should be pretty irrelevant to the problem.

Thanks again.

History

#1 Updated by aphex242 over 8 years ago

Oops, looks like I messed up the code blocks. Still should be readable, wish I could edit. Sorry about that.

Also available in: Atom