You are not logged in.

#1 2010-03-28 19:42:25

addr
Member
From: Manitoba
Registered: 2008-12-04
Posts: 73

mount multiple volumes [SOLVED]

Hi,
I am using Openbox with tint2 and I miss XFCE4's mount-plugin.
Currently I am auto-mounting eighteen partitions over two drives.
Can I make a launcher with a command to mount all the volumes in my fstab?
I have been fooling about with the mount command but can only ever mount one specific partition at a time.

Last edited by addr (2010-04-05 12:15:21)


x86_64 Arch Openbox, Debian PEKwm

Offline

#2 2010-03-28 22:36:12

martin77
Member
Registered: 2010-03-14
Posts: 111

Re: mount multiple volumes [SOLVED]

hi,

sorry but I don't understand you, you are or aren't auto-mounting partitions!? Also you can set explicity in fstab which partitions will be mounted and which not at next boot.

Offline

#3 2010-03-28 23:23:56

JohannesSM64
Member
From: Norway
Registered: 2009-10-11
Posts: 623
Website

Re: mount multiple volumes [SOLVED]

Here is what I use for automounting:
http://wiki.archlinux.org/index.php/Ude … encryption

Offline

#4 2010-03-29 00:15:15

addr
Member
From: Manitoba
Registered: 2008-12-04
Posts: 73

Re: mount multiple volumes [SOLVED]

Sorry I guess I wasn't clear.

Right now all my partitions are auto mounted

partial /etc/fstab

/dev/sda8    /mnt/sda8    ext3    auto,users,exec,noatime    0 0
/dev/sda9     /mnt/sda9    ext3    auto,users,exec,noatime    0 0
/dev/sda11    /mnt/sda11    ext3     auto,users,exec,noatime    0 0
/dev/sda12    /mnt/sda12    ext3     auto,users,exec,noatime    0 0
/dev/sda13    /mnt/sda13    ext3     auto,users,exec,noatime    0 0
/dev/sda14    /mnt/sda14    ext3     auto,users,exec,noatime    0 0
/dev/sda15    /mnt/sda15    ext3     auto,users,exec,noatime    0 0
/dev/sdb1     /mnt/sdb1    ext3     auto,users,exec,noatime    0 0
/dev/sdb3     /mnt/sdb3    ext3     auto,users,exec,noatime    0 0
/dev/sdb4            /mnt/sdb4    ext3     auto,users,exec,noatime    0 0
/dev/sdb5      /mnt/sdb5    ext3     auto,users,exec,noatime    0 0
/dev/sdb6            /mnt/sdb6    ext3     auto,users,exec,noatime    0 0
/dev/sdb7     /mnt/sdb7    ext3     auto,users,exec,noatime    0 0
/dev/sdb8            /mnt/sdb8    ext3     auto,users,exec,noatime    0 0

I want them to be mounted all at once or easily like xfce4-mount-plugin or kwikdisk,

I am trying to get away from mounting them automatically like this on boot and have the ability to mount them all easily with a single click.
Obviously the 'auto' would be removed from the fstab.


x86_64 Arch Openbox, Debian PEKwm

Offline

#5 2010-04-03 21:46:42

addr
Member
From: Manitoba
Registered: 2008-12-04
Posts: 73

Re: mount multiple volumes [SOLVED]

I think I just need help with the mount command.

If I want to mount all of the partitions in my /etc/fstab which are ext3...

I need # mount -a <what next?    -t ext3?>

I am sure it is easy I am just too stupid to follow the man page.


x86_64 Arch Openbox, Debian PEKwm

Offline

#6 2010-04-03 22:42:03

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: mount multiple volumes [SOLVED]

You're not as confused as you think you are. smile

mount -a -t ext3 is the correct command to mount all ext3 partitions listed in your fstab that do not include the noauto option.

Offline

#7 2010-04-05 12:14:34

addr
Member
From: Manitoba
Registered: 2008-12-04
Posts: 73

Re: mount multiple volumes [SOLVED]

Great, thanks!

It was the auto/noauto business that was the problem. I thought noauto had to be there for some reason.

Anyway I have 'gksu mount -a -t ext3' in my menu and keybindings now and it works just fine.

Thanks for all the input.


x86_64 Arch Openbox, Debian PEKwm

Offline

Board footer

Powered by FluxBB