Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 4th March 2012, 07:39 PM
teraquad's Avatar
teraquad Online
Registered User
 
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217
linuxfirefox
mount & umount & hdd

Hi,

I am trying to permanantly unmount and then remount my 1tb hdd in a new location. I origonally ran this command.

Code:
mount /dev/sdb1 -t ext4 /media/ZM_1tb
Now it appears on the desktop at all times unless i umount as root, and the directory is not what I expected. I thought it would appear under "/media/ZM_1tb". but, instead it appears as "/media/mountpoint".

I want to move it to zoneminders "/usr/share/zoneminder/www//events" folder so i have plenty of room for data and have it not appear on the desktop, much like /dev/sda1.
__________________
FC 19-64 Q9400 Home Built!
FC 19-64 Sony Vaio VGN-FW190!
FC 19-64 Dell Dimension 9100!
Win XP Dell Dimension 9100!
Droid X Phone, De N4ZPO!
Reply With Quote
  #2  
Old 4th March 2012, 10:28 PM
nsnbm Offline
Registered User
 
Join Date: Dec 2007
Location: Melbourne, Australia
Posts: 164
linuxfirefox
Re: mount & umount & hdd

Hello teraquad,

As I understand it, /media is used to mount temporary media and is reset on each reboot. I believe it uses tmpfs. When I want a permanent mount point, I have created my own such as something like /mount which is persistent over reboots and will not appear on the desktop like /media mounts do. Ben.
Reply With Quote
  #3  
Old 4th March 2012, 10:57 PM
dd_wizard's Avatar
dd_wizard Offline
Registered User
 
Join Date: Sep 2009
Posts: 1,409
linuxfirefox
Re: mount & umount & hdd

Actually, the traditional directory for fixed mounts is "/mnt". It is created in Fedora by default.

dd_wizard
Reply With Quote
  #4  
Old 5th March 2012, 06:16 PM
Gareth Jones Online
Official Gnome 3 Sales Rep. (and Adminstrator)
 
Join Date: Jul 2011
Location: Leamington Spa, UK
Age: 30
Posts: 1,716
linuxfirefox
Re: mount & umount & hdd

Add the following line to /etc/fstab:
Code:
UUID=[uuid] /usr/share/zoneminder/www/events ext4 defaults 1 2
(Replace "[uuid]" with the volume's UUID, as output by the "blkid /dev/sdb1" command.)

Run "su -c 'mount /usr/share/zoneminder/www/events'" to mount the volume. It should be automatically mounted on future boots.

Gareth
Reply With Quote
  #5  
Old 5th March 2012, 11:57 PM
teraquad's Avatar
teraquad Online
Registered User
 
Join Date: Apr 2010
Location: New Bern NC USA
Age: 56
Posts: 217
linuxfirefox
Re: mount & umount & hdd

Thanks!

I assume this will permanently unmount the volume from /media/mountpoint where it is now.

Thank you very much!

---------- Post added at 06:57 PM ---------- Previous post was at 02:35 PM ----------

Works like a charm, now all i have to do is get ZoneMinder to believe it.
I took it on myself to remove the old line from fstab.
Thank you very mutch!
__________________
FC 19-64 Q9400 Home Built!
FC 19-64 Sony Vaio VGN-FW190!
FC 19-64 Dell Dimension 9100!
Win XP Dell Dimension 9100!
Droid X Phone, De N4ZPO!

Last edited by teraquad; 5th March 2012 at 08:21 PM. Reason: Stupid statement based on wrong post.
Reply With Quote
Reply

Tags
hdd, mount, umount

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
users can't umount an nfs mount rossman_2 Servers & Networking 6 30th January 2012 04:46 AM
USB - Mount and Umount ? Xavior Using Fedora 4 29th October 2006 06:21 PM
cdrom mount/umount problems hikitsu Using Fedora 1 2nd July 2006 03:01 PM


Current GMT-time: 23:32 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat