Project

General

Profile

Bug #688

System Partition gets data from greyhole pooled share

Added by eliasv over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
12/05/2010
Due date:
% Done:

0%


Description

cpg asked me to run the following to resolve the issue, this is a copy form my teminal session.

---------------
[root@Firenze dm]# rpm -Uvh http://greyhole.pommepause.com/releases/hda-greyhole-0.7.5-1.x86_64.rpm
Retrieving http://greyhole.pommepause.com/releases/hda-greyhole-0.7.5-1.x86_64.rpm
error: failed to stat /var/hda/apps/ushare/files: No such file or directory
Preparing... ########################################### [100%]
1:hda-greyhole warning: /etc/greyhole.conf created as /etc/greyhole.conf.rpmnew
  1. [100%]
    WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
    [root@Firenze dm]# /usr/share/greyhole/db_migrationsqlite2mysql.sh
    bash: /usr/share/greyhole/db_migrationsqlite2mysql.sh: No such file or directory
    [root@Firenze dm]# . /usr/share/greyhole/db_migrationsqlite2mysql.sh
    bash: /usr/share/greyhole/db_migrationsqlite2mysql.sh: No such file or directory
    [root@Firenze dm]#

History

#1 Updated by eliasv over 9 years ago

I chatted with cpg on iirc and missed the READ FIRST post on the forums:

[dm@Firenze ~]$ su
Password:
[root@Firenze dm]# uname -r; rpm -q samba hda-greyhole
2.6.32.26-175.fc12.x86_64
samba-3.4.9-60.fc12.x86_64
hda-greyhole-0.7.5-1.x86_64
[root@Firenze dm]# yum -y install fpaste; fpaste /etc/samba/smb.conf; fpaste /etc/greyhole.conf
Loaded plugins: fastestmirror, presto, refresh-packagekit
Loading mirror speeds from cached hostfile * fedora: mirrors.hpcf.upr.edu * rpmfusion-free: mirror.liberty.edu * rpmfusion-free-updates: mirror.liberty.edu * updates: mirrors.ucr.ac.cr
Setting up Install Process
Package fpaste-0.3.4-1.fc12.noarch already installed and latest version
Nothing to do
Uploading (4.0K)...
http://fpaste.org/b2E2/
Uploading (1.3K)...
http://fpaste.org/hG7O/
[root@Firenze dm]# mount; fdisk -l; df -h; greyhole --stats
/dev/mapper/vg_firenze-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/sdb1 on /var/hda/files/drives/drive1 type ext4 (rw)
/dev/sdc1 on /var/hda/files/drives/drive2 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)
gvfs-fuse-daemon on /home/dm/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=dm)
funionfs on /var/hda/apps/ushare/files type fuse.funionfs (rw,nosuid,nodev,allow_other)

Disk /dev/sda: 200.0 GB, 200048565760 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xfcd2fcd2

Device Boot      Start         End      Blocks   Id  System
/dev/sda1 * 1 26 204800 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 26 24321 195153601 8e Linux LVM

Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0002c657

Device Boot      Start         End      Blocks   Id  System
/dev/sdc1 1 243201 1953512001 83 Linux

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0005e6b7

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1 1 243201 1953512001 83 Linux

Disk /dev/dm-0: 193.8 GB, 193793622016 bytes
255 heads, 63 sectors/track, 23560 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

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

Disk /dev/dm-1: 6039 MB, 6039797760 bytes
255 heads, 63 sectors/track, 734 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_firenze-lv_root
178G 6.2G 163G 4% /
tmpfs 2.0G 372K 2.0G 1% /dev/shm
/dev/sda1 194M 40M 144M 22% /boot
/dev/sdb1 1.8T 122G 1.6T 8% /var/hda/files/drives/drive1
/dev/sdc1 1.8T 122G 1.6T 8% /var/hda/files/drives/drive2
df: `/var/hda/apps/ushare/files': Operation not permitted

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

Storage Pool
Total - Used = Free + Attic = Possible
/var/hda/files/drives/drive1/gh: 1834G - 122G = 1619G + 0G = 1619G
/var/hda/files/drives/drive2/gh: 1834G - 122G = 1619G + 0G = 1619G

[root@Firenze dm]# mysql u root -phda -e "select * from disk_pool_partitions" hda_production
---
------------------------------+--------------+---------------------+---------------------+ | id | path | minimum_free | created_at | updated_at |
--------------------------------+--------------+---------------------+---------------------+ | 1 | /var/hda/files/drives/drive1 | 10 | 2010-12-02 22:15:55 | 2010-12-02 22:15:55 | | 2 | /var/hda/files/drives/drive2 | 10 | 2010-12-02 22:15:57 | 2010-12-02 22:15:57 |
--------------------------------+--------------+---------------------+---------------------+
[root@Firenze dm]# mysql -u root -phda -e "select concat(path, '/gh') from disk_pool_partitions" hda_production | grep -v 'concat(' | xargs ls -la | fpaste
Uploading (1.6K)...
http://fpaste.org/2QTe/
[root@Firenze dm]#

#2 Updated by gboudreau over 9 years ago

  • Status changed from New to Resolved

You have a typo in the 2nd command you ran after installing the RPM.
It should have been

/usr/share/greyhole/db_migration-sqlite2mysql.sh
and not
/usr/share/greyhole/db_migrationsqlite2mysql.sh

Also available in: Atom