[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: interface for tar



Sharchar:

Can I do that with autofs? Lets say I have a directory called
/home/$userid/image_files; can I have autofs to look for
/home/$userid/& and automatically mount and unmount these fs images?
Lets say I keep the fs images in /home/$user/.isos

ANy thoughts about this?

Either way, thanks for all of your help guys!

TIA

On Thu, Aug 21, 2008 at 1:18 AM, Shachar Or <dawnlight@lavabit.com> wrote:
> On Wednesday 20 August 2008 13:50, Mag Gam wrote:
>> David:
>>
>> Do you have some sort of script to manage this? I am a little hesitate
>> to give professors mkfs and mount  sudo access. Is there a way around
>> this?
>
> You can specify the 'user' option in fstab so that usres can mount the
> relevant filesystem.
>
> If you precreate the files with the filesystems in them, it may cover it.
>>
>> On Wed, Aug 20, 2008 at 12:13 AM, Mag Gam <magawake@gmail.com> wrote:
>> > WOW!
>> >
>> > Very nice ideas.
>> >
>> > I like the dd idea. What command would I use for that? Also, the files
>> > are coming from NFS; how can I help this?  Any ideas for this?
>> >
>> > On Tue, Aug 19, 2008 at 10:24 PM, David Fox <dfox94085@gmail.com> wrote:
>> >> On Tue, Aug 19, 2008 at 5:40 PM, Mag Gam <magawake@gmail.com> wrote:
>> >>> At my university we run fluid dynamic simulations. These simulations
>> >>> create many small files (30,000) per hour. Their size is very small
>> >>> (20k to 200k). Instead of having this on the filesystem since it take
>> >>
>> >> My approach:
>> >>
>> >> make a sufficiently-sized file using dd if=/dev/zero of=/bigfile bs=1m
>> >> count=1000
>> >>
>> >> size so that you have enough room, and room for growth, of course
>> >>
>> >> Make a filesystem inside of that file (reiserfs might be a good choice
>> >> since it is well-designed to handle lots of smallish files, although
>> >> "small" by that definition may be much smaller than 200k)
>> >>
>> >> Mount that file in loopback mode prior to running your simulations,
>> >> and (after moving the files over to the new filesystem) direct all
>> >> filesystem traffic to use that 'filesystem' which may entail only
>> >> something simple as cd'ing into the 'filesystem' and starting work.
>> >>
>> >>
>> >> --
>> >> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
>> >> with a subject of "unsubscribe". Trouble? Contact
>> >> listmaster@lists.debian.org
>
> --
> Shachar Or | שחר אור
> http://ox.freeallweb.org/
>
>

Reply to: