Partitions.. Again

Wedee
Posts: 4
Joined: Tue Dec 24, 2013 7:56 pm

Partitions.. Again

Postby Wedee » Tue Dec 24, 2013 8:06 pm

Ok so I finished installing Amahi 7 and everything seems pretty good, but I do not like the way it set up my partitions... What I currently have is...

Partition Total Free Used Mount Point
/dev/sda1 2.69 TB 2.55 TB 73.1 MB (1%) /home
/dev/sdb1 190 MB 115 MB 60.2 MB (35%) /boot
/dev/sdc1 2.69 TB 2.41 TB 140 GB (6%) /


So three drives 2 x 3tb and 1 x 500gb.

From other posts it appears that I want to unplug both 3tb drives, and do an install with only the 500GB drive.
During install (make sure I am not using LVM)
1. Delete all partitons
2. Standard - Swap 1GB Fixed
3. Standard - /boot - ext4 500MB
4. / - Ext4 - Fill rest

**I just noticed my 500GB drive is showing as 190MB - Other partitions on it maybe?

So after its all installed with that and booted twice what do I do to add the extra drives in?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Partitions.. Again

Postby bigfoot65 » Thu Dec 26, 2013 6:26 pm

See this wiki reference for adding drives.
https://wiki.amahi.org/index.php/Adding ... o_your_HDA
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Wedee
Posts: 4
Joined: Tue Dec 24, 2013 7:56 pm

Re: Partitions.. Again

Postby Wedee » Thu Dec 26, 2013 8:40 pm

Well I installed Amahi on the 500GB drive with 1gb swap, 500mb boot and the rest for root.

I did try to configure all three drives at install time but kept having issues, so I unplugged the two and went with just the 500GB drive to start.

After I got it running the way I wanted I then plugged in the two drives and followed thru the wiki entry.

No issues with finding the hda-diskmount info

Added the two new drives to fstab using vi

and the Amahi web page sees them, and I have partitions active on each.

I then edited a few shares - Example...

/var/hda/files/drives/sdb1/docs (Docs was empty to begin with)

..after a reboot and a putty session, the Docs folder is where that path shows... and if I mkdir in that path, the new directory shows up via smb browse in my Docs share, but windows reports the drive size of the OS drive (Not just reports but it also rejects files that would exceed the space being reported)

I then tried changing the share path to...
/var/hda/files/drives/drive 1/docs

Neither works...

What did I miss?

Current fstab
UUID=1fdad98c-620d-4687-9df3-feb8a7377719 / ext4 defaults 1 1
UUID=11bac0ee-b6f6-41be-82c6-c7bd5676718d /boot ext4 defaults 1 2
UUID=8ee78f66-09c8-4205-a0a3-76f9bac5091e swap swap defaults 0 0
UUID=acbd70c1-9091-4de9-a986-a2df832992fd /var/hda/files/drives/drive1 ext4 defaults 1 2
UUID=2b26d865-8edc-48b1-8e96-6516fe982635 /var/hda/files/drives/drive2 ext4 defaults 1 2


Current hda-diskmount output
[root@localhost ~]# hda-diskmount
****************************************************************
Ignoring /dev/sda1 - already mounted
Ignoring /dev/sda1 - already in /etc/fstab as UUID=11bac0ee-b6f6-41be-82c6-c7bd5 676718d
****************************************************************
Ignoring /dev/sda3 - already mounted
Ignoring /dev/sda3 - already in /etc/fstab as UUID=1fdad98c-620d-4687-9df3-feb8a 7377719
****************************************************************
Ignoring /dev/sdb1 - already mounted
Ignoring /dev/sdb1 - already in /etc/fstab as UUID=2b26d865-8edc-48b1-8e96-6516f e982635
****************************************************************
Ignoring /dev/sdc1 - already mounted
Ignoring /dev/sdc1 - already in /etc/fstab as UUID=acbd70c1-9091-4de9-a986-a2df8 32992fd
****************************************************************
No usable Linux, Windows or Mac partitions found on your disks.

Current Amahi partitions list
/dev/sda1 476 MB 386 MB 61 MB (14%) /boot
/dev/sda3 457 GB 37.6 GB 396 GB (92%) /
/dev/sdb1 2.69 TB 2.55 TB 73 MB (1%) /var/hda/files/drives/drive2
/dev/sdc1 2.69 TB 2.55 TB 73 MB (1%) /var/hda/files/drives/drive1

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Partitions.. Again

Postby bigfoot65 » Thu Dec 26, 2013 8:47 pm

Is your intent to move the shares to the other drives? Your share folders are probably still located on /var/hda/files drive. If you want to move them to a different drive, you will need to move the folders as well.

Most use additional drives for Greyhole, so just a matter of following the wiki guidance for that part. If you tell us your intent for those drives, we will be able to provide better guidance.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Wedee
Posts: 4
Joined: Tue Dec 24, 2013 7:56 pm

Re: Partitions.. Again

Postby Wedee » Thu Dec 26, 2013 8:53 pm

After a bit more reading what I want to set up....

Movies and TV on the first drive (No GH)

The rest of my shares in a GH pool on the two 3tb drives.

So I setup GH
Created a share Music on one of the new drives
Copied over 40GB to the share
ran greyhole -f
looked at the log and it started FSCK on music share and then said complete.
Looking at the partition properties I would have expected the drive usage to equal one another, but the drive the music is on showed the 40GB data, but the second drive didn't increase at all.

What should I start looking at as I suspect its not functioning the way I intended?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Partitions.. Again

Postby bigfoot65 » Fri Dec 27, 2013 6:08 am

Did you follow this guidance in the wiki for setting up Greyhole?
https://wiki.amahi.org/index.php/Amahi_ ... hole_Setup

Also need to ensure all your shares you created are owned by your first admin user:users. If not, they will not work correctly.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Wedee
Posts: 4
Joined: Tue Dec 24, 2013 7:56 pm

Re: Partitions.. Again

Postby Wedee » Fri Dec 27, 2013 12:08 pm

Yes I followed the guide, and I only have one user account (As created) so the owner should be fine.

I think I might start over again, aside from the time to copy everything it might be the best plan... Nothing appears to be running correctly. This time I am going to forget trying to have some things in GH and others Not... I am going to install, add drives, move ALL shares to new drives, install GH, and see what happens

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Partitions.. Again

Postby bigfoot65 » Fri Dec 27, 2013 12:43 pm

Probably a good idea. Get it all working first, then mess with settings.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 23 guests