Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Folder Raid/merging, Interesting method used by ioFTPd
AbuseWolf
post Oct 26 2004, 07:24 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 26-October 04
Member No.: 4,036



I need help with a thing, I got a server with alot of drives.
I do not wanna JBOD or Raid em. if one fail lots of data needs to be replaced.
What I am thinking of is linking several folders into 1 folder.

like this

/mnt/hdb1/stuff1 >> /raid/stuff
/mnt/hdc1/stuff2 >> /raid/stuff
/mnt/hdd1/stuff3 >> /raid/stuff
/mnt/hde1/stuff4 >> /raid/stuff

creating a folder with the total data of the other folders....
ioFTPd solved it like this

"The contents of two or more dirs can be merged as shown below.
Note: For read-only purposes! Writing is however possible, uploaded
files (in a raided VFS dir) will be stored on last device specified,
in this case e:dir2.

Example:
"d:dir1" /archive
"e:dir2" /archive
..."

Can this be done? In Linux? I'm a n00b, but I have been
working with large arrays a while and I'm getting tierd of the
massive ammount of folders.
Please help or inform me.
Go to the top of the page
 
+Quote Post
hughesjr
post Oct 27 2004, 06:32 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



You can't have more that 1 partition mounted into a directory ... and you can't link mutiple directories into the same location...

You could do LVM or RAID.


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
AbuseWolf
post Oct 27 2004, 07:55 AM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 26-October 04
Member No.: 4,036



You did not read the question....

The server is used for movable hotswop drives.
One folder for the department workdir, when the
user go home, then he takes the drive with him.
Try to do that on a Raid.... it is Impossible.

LVM and Raid can anyone do, I am interested in
linking folders into one, by FTP software or by
OS. If it can't be done I'll make the software
me self, but why invent the wheel if some
one already did?

Thank you for your answer, even if it did not help.
Go to the top of the page
 
+Quote Post
hughesjr
post Oct 27 2004, 09:33 AM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



I re-read the question ... your first post didn't talk about removable drives, just that you had a lot of physical drives and that you wanted them linked (to be named) one folder. Raid and LVM can take several drives and allow then to be one device, thereby making them one folder. Obviously, that won't work if you remove a physical drive from the system.

Now, after reading your second post, I'm not sure exactly what you are trying to accomplish ... but I'll take a stab at explaining your situation ... which you can correct if I'm wrong. After that, I can recommend a solution.

---------------
1. You have some removable hard drives that users can remove and do work at a remote location. They can bring the remote drives back. When they bring the drives back, they can put them into thier PCs.

So far, you don't need to copy anything anywhere....
--------------
Are the removable drives bootable, containing all data and system files, so you put them in a remote machine and it boots ... or are they only data, requiring a remote OS?

Do you have only one hardware device for making the removable hard drives, that needs to sync the info out to removable device and back in when the device comes back? Or are there seperate devices and seperate computers that they plug into?

When the devices come back and you sync them up, do you put all the returning info in the same place, or do some drives have data that goes to one place, while other drives have date that goes somewhere else?

You might be able to use the rsync command to do what you want ... but I will need more details to help.


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
AbuseWolf
post Oct 27 2004, 11:43 AM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 26-October 04
Member No.: 4,036



Ok down to Details then wink.gif

There is a network with alot of computers.
The network got a Server that hold the drives that the Department employees use.

The drives contain a folders like this
/subdepartment

subdep it is mounted into their own folder as /home/user/subdepartment

That will automount to the server as the same, giving EVERY one access to a gigantic Readonly folder.
/Department/Subdepartment
Every Week the sum of the server is mirrored to a Special Backupserver.

At their home they got only their own folder, but at the Department they can access the sum of all work
in /Department/User/Subdepartment

Right now there are 40 folders for 40 workers, with several subfolders.
...

Imagine one folder with 40 workers, with one subfolder containing the subdivision data.
the users got a home dir with their own work only.
and a /Department folder with the sum off all inside.

I am testing this with ioFTPd, it is working...
But I want to use Unix/Linux due to it is far superior as server.

the mirror got access to 1 week old work, and the "If in" got access to "this instant" work.

Following the method I want, then a head or group leader can easily check work and how far it has come.
And can with fairly little access intersect a problem before it occure or before the men run out of workhours.
To copy rendered data to a server takes time. But to access need only data can make it very effective.

I hope you see the dept of my resoning, my English is rather bad but I hope you see what I am reaching for.

Thanks again
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 07:25 PM