Partition drive after install

erob0728
Posts: 3
Joined: Thu Feb 10, 2011 12:24 pm

Partition drive after install

Postby erob0728 » Wed Jun 29, 2011 12:46 pm

I recently installed Amahi 6 using the Fedora 14 install DVD. Installation went fine and I can access the server from all machines on my network. During the install, my 500GB hardrive was partitioned - when checking storage from the hda panel, the drive shows two partitions (partition1 - 49GB, partition2 - 450GB). When trying to move files to the server, I am given a space limitation error and cannot seem to access the 450GB partition. Is there a way to delete the second parttion and have system files and shared files (music, docs, etc.) on the same partition? Thank you.

User avatar
radioz
Posts: 406
Joined: Tue Nov 24, 2009 1:07 pm

Re: Partition drive after install

Postby radioz » Wed Jun 29, 2011 3:11 pm

Open up a terminal on your hda and type: df -h
Show us the output.
Can you paste a screen shot of your Storage/Partitions screen?

Do you know if you are using Greyhole?

erob0728
Posts: 3
Joined: Thu Feb 10, 2011 12:24 pm

Re: Partition drive after install

Postby erob0728 » Wed Jun 29, 2011 3:34 pm

Picture1.png
Picture1.png (37.93 KiB) Viewed 3504 times
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_hda-lv_root
50G 3.5G 44G 8% /
tmpfs 244M 260K 244M 1% /dev/shm
/dev/sda1 485M 29M 431M 7% /boot
/dev/mapper/vg_hda-lv_home
408G 214M 387G 1% /home


Above is the output of df -h on the hda.
Not sure about Greyhole. How can I check that?
Thank you for the quick reply.

User avatar
radioz
Posts: 406
Joined: Tue Nov 24, 2009 1:07 pm

Re: Partition drive after install

Postby radioz » Wed Jun 29, 2011 5:02 pm

Did you adjust anything related to drive partitioning during the install?

It's curious that your root partition ('/') is so small and your home partition is so big.

Amahi creates all of its shares in /var/hda/files (which is part of the '/' partition), so with such a small size, there isn't much room for data.

I can think of a couple of routes you could take to fix this.
1. Re-install and make sure that '/' gets most of the drive space. As long as you are using your hda as a server and not as a regular workstation for someone (you shouldn't), you don't need much space in /home.

2. If you know your way around Linux a bit you can set up a separate (large) partition or drive and mount it in /var/hda/files. That's what I do. Having a separate drive (or at least a separate partition) is good if your OS gets corrupted or the disk dies.

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

Re: Partition drive after install

Postby bigfoot65 » Wed Jun 29, 2011 7:30 pm

Fedora 14 allocates most of the drive to the /home dir. Best to follow the wiki guidance to install without LVM. It gives a good partition size plan for install.

http://wiki.amahi.org/index.php/Install_without_LVM
ßîgƒσστ65
Applications Manager

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

User avatar
radioz
Posts: 406
Joined: Tue Nov 24, 2009 1:07 pm

Re: Partition drive after install

Postby radioz » Wed Jun 29, 2011 9:18 pm

Ah, I didn't think about the LVM install! I just finished my LVM install, but since I had a custom layout, I didn't see the suggested partition allocation.

erob0728
Posts: 3
Joined: Thu Feb 10, 2011 12:24 pm

Re: Partition drive after install

Postby erob0728 » Thu Jun 30, 2011 4:32 am

Reinstalled without LVM and drive is partitioned correctly now. Thanks again.

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

Re: Partition drive after install

Postby bigfoot65 » Thu Jun 30, 2011 4:51 am

Awesome. We probably should add something to the install instructions indicating this potential issue on use of drive space.
ßî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 11 guests