LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-01-2012, 10:23 AM   #1
John Glasgow
LQ Newbie
 
Registered: Jan 2012
Location: London
Posts: 8

Rep: Reputation: Disabled
Unhappy What does Mount and Unmout do in Linux?


Sorry to ask such a basic question but I know absolutely nothing about Linux and only got involved because I need to format a hd in Ext3 format.

Can someone explain to me in plain language what does mount and unmount mean when it comes to an external Hard drive connected to linux. And what is the significance of mount / unmount.

Reason I ask is that having successfully reformatted the drive from FAT32 to Ext3 format the device I am connecting the HD to (Humax FOXSAT-HDR Freesat box(used for recording TV programs)does not recognise it anymore.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 01-01-2012, 10:28 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
there is no "unmount". it's "umount".


Mounting is the act of making a storage device accessible as part of a file system. In windows, mapping a network share is like mounting it. When you use a CD or usb stick or something, at the high end user level, in Gnome etc, this is all handled automatically like on windows, but at a lower level it still gets done, on boot to make the different partitions accessible etc.
 
Old 01-01-2012, 10:36 AM   #3
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1958Reputation: 1958Reputation: 1958Reputation: 1958Reputation: 1958Reputation: 1958Reputation: 1958Reputation: 1958Reputation: 1958Reputation: 1958Reputation: 1958
"Mounting" a device very simply means connecting it to the system file structure, so that its contents become available. On Windows almost all mounting is automatic, and almost every device is given a separate drive letter. *nix based systems are more flexible, and it's possible to manually mount a device anywhere on the file tree. The mount/umount (no 'n'!) commands are obviously what you use to do this.

There's also the /etc/fstab file, which is a permanent configuration file for devices that need to be mounted automatically or regularly. Since you've changed the formatting on your disk, you probably just need to modify your fstab so that it has the correct information.

Finally, removable devices, like usb sticks and external HDDs, are often handled by a separate automounting system of some kind. Different distributions and desktop environments have varying systems for this, so you'd have to research your own distro's setup.
 
3 members found this post helpful.
Old 01-01-2012, 11:28 AM   #4
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Distribution: UBUNTU 5.10 since Jul-18,2006 on Intel 820 DC
Posts: 813

Rep: Reputation: 195Reputation: 195
Mount has some parameters. You have to choose the right option for file system type now that you have reformatted it as ext3.

`mount` attaches a device to a pre-specified sub-directory (folder) in the file system (all attached devices) AND it makes the device on line. All references are then to the pre-defined sub folder name.

`umount` makes the file system off line and so the same folder name reverts as part of the root file system.

OK
 
Old 01-01-2012, 03:39 PM   #5
SecretCode
Member
 
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by John Glasgow View Post
Reason I ask is that having successfully reformatted the drive from FAT32 to Ext3 format the device I am connecting the HD to (Humax FOXSAT-HDR Freesat box(used for recording TV programs)does not recognise it anymore.
Now that the meaning of "mount" has been covered, on to your real problem! Why did you need to format the drive as ext3? and are you sure the Freesat box supports ext3? Many multimedia appliance boxes are pretty limited in the file system formats they can handle.

I'm not aware of any options on ext3 that could make it mount OK on Linux (which I assume it does) but fail to mount on another system that supports ext3.
 
1 members found this post helpful.
Old 01-02-2012, 09:21 AM   #6
John Glasgow
LQ Newbie
 
Registered: Jan 2012
Location: London
Posts: 8

Original Poster
Rep: Reputation: Disabled
Smile Solved Issue with FOXSAT

Hi all, thanks for all your posts which have helped me to finally resolve this problem.

The full solution in case anyone else is 'listening' so to speak was as follows;

a) reformat the external device to Ext3/4 format, reformated it to Ext 3 only.
b) create 3 boot partitions (1 10gb,formatted to FAT32 (the others to 1 Terbyte and 990 gb formatted to Ext 3)
c) umount the drive (note have now learnt that there is no 'n' in umount!

To achieve a) I downloaded a program called Fedora (which is open source so it is free)to an exteranl pen drive with 2gb of free space.
I changed the boot sequence in Windows to reboot from the pen drive.
Reboot the PC, Fedora will start automatically.


Thats it....not sure why this actually worked if I be 100% honest, and I only give the files sizes/formats & partitions here in case any of this helps other users.

NB. Without the 3 partitions the FOXSAT HDR recorder would not recognise the connected Hard Drive at all.
(but note my FOXSAT HDR may have a HD issue (unproven))

Now I have a little over 24 hours to copy 60 hours+ worth of recordings as HUMAX are going to deliver a replacement FOXSAT recorder as this one is faulty (picture freezes for no apparent reason)it has been returned and "tested" by Humax in the last week but they found nothing wrong with it, yet as soon as I got it back the picture of live tv began to freeze again (I suspect the Hard drive is faulty, which may go some way to explaining some of the other issues I have been having with it, or not!).

Happy New Year to Everyone
 
Old 01-02-2012, 09:41 AM   #7
John Glasgow
LQ Newbie
 
Registered: Jan 2012
Location: London
Posts: 8

Original Poster
Rep: Reputation: Disabled
Thumbs up Response to Secret Code

Re: "Why did you need to format the drive as ext3? and are you sure the Freesat box supports ext3?"

The 2tb HD I just bought was already preformatted in FAT32.

The HUMAX-FOXSAT-HDR recorder accepts FAT32 or Ext3 formats only (confirmed by HUMAX)

The FOXSAT-HDR HD has a I TB Hard drive, which was 68% full, mainly of High Definition TV recordings

FAT32 has a file size restriction of 4gb, the majority of the 1hr HD programs surpassed the 4GB size hence I could only copy 1 in 10 programs if I left the HD formatted in FAT32, not much use to man nor beast (hence earlier comment about how useless FAT32 was), so I reformatted the ext HD to Ext 3 format which apparently has a file size restriction of 16gb, Ext 4 format would be even better(file size restriction is 1tb) but unfortunately the HUMAX-FOXSAT-HDR will not accept Ext4 format.

Hope this answers you question?
 
Old 01-02-2012, 10:49 AM   #8
SecretCode
Member
 
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
Yes, that makes sense. Odd that it would need 3 partitions in order to be usable, but glad you have it working!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wierd auto-unmout prob 2Pacalypse Linux - Hardware 6 03-13-2007 04:25 PM
Allow only a user to mount and unmout drives Menestrel Linux - Newbie 6 07-24-2005 05:01 PM


All times are GMT -5. The time now is 07:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration