LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 02-23-2007, 01:38 PM   #1
xconspirisist
Member
 
Registered: Dec 2002
Location: United Kingdom
Distribution: Ubuntu
Posts: 276

Rep: Reputation: 30
Mounting multipul partitions into a single folder.


Is it okay to mount multiple partitions in a single folder?

I get a warning when trying to mount, which suggests I add the "noempty" argument while mounting, but I'm not sure whether this could cause nasty effects. The partitions are both NTFS, containing lots of my pictures. I don't want to have to mount to two folders like /mnt/pictures/partition1 and /mnt/pictures/partition2, instead I want to mount to /mnt/pictures.

Many thanks in advance.

(I posted this in the hardware forum because we're dealing with hard drives, I thought it was the most appropriate at the time.)
 
Old 02-23-2007, 06:06 PM   #2
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
Google for "unionfs"
 
Old 02-23-2007, 07:20 PM   #3
xconspirisist
Member
 
Registered: Dec 2002
Location: United Kingdom
Distribution: Ubuntu
Posts: 276

Original Poster
Rep: Reputation: 30
Thanks for your suggestion, but after a bit of research, it seems that unionfs is generally only used in livecds.

I've done considerable research into using LVM, but at the moment I can't find a solution whereby, if one disk crashes, the rest of the disks will continue (allbeit, with data loss). Apparently I can't use raid, because the size of the partitions that would make up the LVM are different sizes.
 
Old 02-23-2007, 08:09 PM   #4
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
Quote:
Originally Posted by xconspirisist
Thanks for your suggestion, but after a bit of research, it seems that unionfs is generally only used in livecds.
I would recommend you do more research. I just mounted 2 NTFS partitions with unionfs in the same location. Works fine for me. I've also used it to combine split images in the past.
 
Old 02-23-2007, 08:29 PM   #5
xconspirisist
Member
 
Registered: Dec 2002
Location: United Kingdom
Distribution: Ubuntu
Posts: 276

Original Poster
Rep: Reputation: 30
Yes indeed! I've just got it working!

I'll write a small blog entry and post the link up here in the next few days for those that want to know how to do it.

mjmwired: Thank you so VERY much I'm sorry for dismissing your first post.
 
Old 02-23-2007, 09:21 PM   #6
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
Quote:
Originally Posted by xconspirisist
mjmwired: Thank you so VERY much I'm sorry for dismissing your first post.
No problem, glad you got it to work.
 
Old 02-23-2007, 10:11 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,356

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
I looked at unionfs a while back - IIRC there was an issue of same named files (file/directory structure) on multiple directories. For me this was a stopper at the time. Also one had to be careful with creating new files in the correct place - not an issue if directories are "sane" I guess.
 
  


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
Multipul SUSE Questions iz3r Suse/Novell 6 02-05-2005 11:31 AM
Multipul Software Questions iz3r Linux - Software 16 02-02-2005 04:34 PM
Multipul Mandrake Issues iz3r Linux - Newbie 6 02-02-2005 08:57 AM
Mounting a single folder george_mercury Linux - General 2 07-06-2004 05:46 PM
vsftpd single upload folder RinGz Linux - Networking 2 11-13-2003 01:59 PM


All times are GMT -5. The time now is 10:00 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration