Storage and files question

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

Re: Storage and files question

Postby bigfoot65 » Sun Jan 08, 2012 2:58 pm

Yes, create /var/hda/files/drives/sdb folder and chown it to match the owner of your home folder.

Normally the script mounts drives as /var/hda/files/drives/drive1 and so on.

Then if it mounts, you will need to ensure you get the correct info to add to the /etc/fstab or it will not reappear on reboot. Might even consider rebooting, then running the script again and see if it picks it up.
ßîgƒσστ65
Applications Manager

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

sahrempire
Posts: 22
Joined: Sat Jan 07, 2012 11:35 pm

Re: Storage and files question

Postby sahrempire » Sun Jan 08, 2012 3:29 pm

It looks like it just needed some time to populate in explorer. Now all my files are available, and I am able to take care of everything! Thanks!

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

Re: Storage and files question

Postby bigfoot65 » Sun Jan 08, 2012 3:35 pm

Awesome....glad you got it all sorted out. If there are any lessons learned you could pass on to new users, please let us know. We would like to add those types of things to the wiki to make the initial install more painless.
ßîgƒσστ65
Applications Manager

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

sahrempire
Posts: 22
Joined: Sat Jan 07, 2012 11:35 pm

Re: Storage and files question

Postby sahrempire » Sun Jan 08, 2012 11:15 pm

absolutely. I was thinking much the same, while I will try to orginize those lessons into something usable, I would definatly like to see some warnings about usernames, and password rules/issues in the wiki.EDIT:

The second data disc is not in /etc/fstab that i can see, perhaps you guys can help? i will try rebooting after this.

Code: Select all

# /etc/fstab # Created by anaconda on Sun Jan 8 00:44:40 2012 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # /dev/mapper/vg_amahi-lv_root / ext4 defaults 1 1 UUID=6a6dff05-fd5c-4ac8-abc4-b6746b745519 /boot ext4 defaults 1 2 /dev/mapper/vg_amahi-lv_home /home ext4 defaults 1 2 /dev/mapper/vg_amahi-lv_swap swap swap defaults 0 0 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 UUID=F0148C44148C0FB0 /var/hda/files ntfs-3g rw,user,fmask=0113,dmask=0002,uid=500,gid=100,noatime 1 2
there should be another drive mounted in /var/dha/files2 but as you can see, its not there.

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

Re: Storage and files question

Postby bigfoot65 » Mon Jan 09, 2012 4:11 am

You have to add it manually. The hda-diskmount script mounts the drive and gives you the info, but does not add it to /etc/fstab. That should have been indicated in the instructions in the wiki.
ßîgƒσστ65
Applications Manager

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

sahrempire
Posts: 22
Joined: Sat Jan 07, 2012 11:35 pm

Re: Storage and files question

Postby sahrempire » Mon Jan 09, 2012 5:46 am

I understand, but I dont get any info from hda-diskmount about that drive. Is there another command that will give me the info needed to add to /etc/fstab?

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

Re: Storage and files question

Postby bigfoot65 » Mon Jan 09, 2012 6:01 am

Not easily. If you are not getting any results, then the drive must already be mounted. As root user, do

Code: Select all

df -h
and see if that drive shows.

If it does not, then you might try shutting down the machine. Check that all connections are good, then start it back up and see if it shows up.

Have you tried the disk utility from the HDA Fedora desktop to see if it shows up? I presume you have files on it. If not, then you might consider removing the partition and creating a new ext4 one. Then format it and see if it's recognized.
ßîgƒσστ65
Applications Manager

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

sahrempire
Posts: 22
Joined: Sat Jan 07, 2012 11:35 pm

Re: Storage and files question

Postby sahrempire » Mon Jan 09, 2012 6:33 am

When manually mounted, df -h shows:

/dev/sdc1 932G 175G 758G 19% /var/hda/files
/dev/sdb2 1.9T 81G 1.8T 5% /var/hda/files2

ill try it again this evening when it is restarted and not mounted. What I may try to do if I can't get this resolved, is some sort of shell script. but then I have to learn how to do that...

an off topic question really quick, how are updates performed on this fedora installation and are there known issues after updating? Ive seen a few posts about issues after updating but idk about the specifics.

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

Re: Storage and files question

Postby bigfoot65 » Mon Jan 09, 2012 7:18 am

I see one that is /var/hda/files2. That is not a good practice for mounting a data drive. Best to mount it as /var/hda/files/drives/drive1. That is what the hda-diskmount script typically does.

You may need to manually create the folder before mounting it. Is that the missing drive? If it is, then it must be in your /etc/fstab.

As for updates, Amahi pushes its own automatically. Fedora updates are off by default. I recommend you manually do Fedora updates periodically. I have mine up to date and have had no issues. Best way to do it is as root user, do

Code: Select all

yum update
.

If you do not get the updates, there may miss some critical security patches. As I mentioned, I run a complete up to date system and have never had any issues.
ßîgƒσστ65
Applications Manager

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

sahrempire
Posts: 22
Joined: Sat Jan 07, 2012 11:35 pm

Re: Storage and files question

Postby sahrempire » Mon Jan 09, 2012 7:27 pm

Thank you for the update info.

The df -h only shows that drive when I manually mount it to that mount point, if the drive is not mounted, then it does not appear in the output.

The only other thing I can think of at this point is to mention that when I look at the disk application, it says the filesystem type on the drive is guid. Also if I mount the device (manually) and run hda-diskmount, the script says that if /media/backup2tb is the drive I want to mount, i need to eject it and rerun the script, which gets us back to the same place...

Who is online

Users browsing this forum: No registered users and 15 guests