|
From: <hzu...@ra...> - 2004-05-04 14:00:30
|
On 05/03/2004 10:31:14 PM Tim Tait wrote: >I am using an IMAP server on my DL box, but I don't want to store the >IMAP stuff on the devil-linux vg because I want it to be on my RAID1 vg. >So I have a mount entry in fstab to mount over that point... but, if >there is no imap lv in the devil-linux vg, then devil-linux doesn't >autocreate a mount point... so my mount fails. > >Is there an easy way to create the mount points on-the-fly without >modifying scripts all the time, ie as you mount? > >If not, can we add the mount points for the usual devil-linux vg >automounts in /var so that they can easily be mounted elsewhere if >desired? Actually the mount points get created dynamically, you can name the VGs however you want to. (Or in other words, there are no default VGs names anymore (since 1.1)) This you wont have any other option then modifying the init scripts. Heiko |
|
From: Diego T. <dt...@co...> - 2004-05-04 14:08:27
|
On Tue, May 04, 2004 at 09:59:59AM -0400, hzu...@ra... wrote: > Actually the mount points get created dynamically, you can name the VGs > however you want to. > (Or in other words, there are no default VGs names anymore (since 1.1)) about this, where are the directories created for the mounting points? only on the make iso stage? -- -- gnupg keyfingerprint -- 48AF 5BF9 8F54 2966 64CC 2327 7CD0 DD91 B09D 5799 -- Use of a keyboard or mouse may be linked to serious injuries or disorders. Diego Torres - dtorres at anthalia dot org - Madrid / España |
|
From: Heiko Z. <he...@zu...> - 2004-05-04 14:45:49
|
> On Tue, May 04, 2004 at 09:59:59AM -0400, hzu...@ra... wrote: >> Actually the mount points get created dynamically, you can name the VGs >> however you want to. >> (Or in other words, there are no default VGs names anymore (since 1.1)) > > about this, where are the directories created for the mounting points? > only on the make iso stage? They are created dynamically on runtime, when "/etc/init.d/mountfs start" is executed, which happens in /etc/init.d./boot.d -- Regards Heiko Zuerker http://www.devil-linux.org |
|
From: Diego T. <dt...@co...> - 2004-05-04 15:30:16
|
On Tue, May 04, 2004 at 10:40:24AM -0400, Heiko Zuerker wrote: > > about this, where are the directories created for the mounting points? > > only on the make iso stage? > > They are created dynamically on runtime, when "/etc/init.d/mountfs start" > is executed, which happens in /etc/init.d./boot.d so mountfs gets them from /etc/fstab, and creates all the mount points that doesn't exist? amazing :) -- -- gnupg keyfingerprint -- 48AF 5BF9 8F54 2966 64CC 2327 7CD0 DD91 B09D 5799 -- Use of a keyboard or mouse may be linked to serious injuries or disorders. Diego Torres - dtorres at anthalia dot org - Madrid / España |
|
From: Tim T. <t....@co...> - 2004-05-04 14:59:10
|
hzu...@ra... wrote: >On 05/03/2004 10:31:14 PM Tim Tait wrote: > > >>I am using an IMAP server on my DL box, but I don't want to store the >>IMAP stuff on the devil-linux vg because I want it to be on my RAID1 vg. >>So I have a mount entry in fstab to mount over that point... but, if >>there is no imap lv in the devil-linux vg, then devil-linux doesn't >>autocreate a mount point... so my mount fails. >> >>Is there an easy way to create the mount points on-the-fly without >>modifying scripts all the time, ie as you mount? >> >>If not, can we add the mount points for the usual devil-linux vg >>automounts in /var so that they can easily be mounted elsewhere if >>desired? >> >> > >Actually the mount points get created dynamically, you can name the VGs >however you want to. >(Or in other words, there are no default VGs names anymore (since 1.1)) > >This you wont have any other option then modifying the init scripts. > >Heiko > So I can put 'tmp' on a different vg than 'imap' and both will be auto-mounted with the current DL setup? Tim |
|
From: Heiko Z. <he...@zu...> - 2004-05-04 15:16:17
|
> hzu...@ra... wrote: > >>On 05/03/2004 10:31:14 PM Tim Tait wrote: >> >> >>>I am using an IMAP server on my DL box, but I don't want to store the >>>IMAP stuff on the devil-linux vg because I want it to be on my RAID1 vg. >>>So I have a mount entry in fstab to mount over that point... but, if >>>there is no imap lv in the devil-linux vg, then devil-linux doesn't >>>autocreate a mount point... so my mount fails. >>> >>>Is there an easy way to create the mount points on-the-fly without >>>modifying scripts all the time, ie as you mount? >>> >>>If not, can we add the mount points for the usual devil-linux vg >>>automounts in /var so that they can easily be mounted elsewhere if >>>desired? >>> >>> >> >>Actually the mount points get created dynamically, you can name the VGs >>however you want to. >>(Or in other words, there are no default VGs names anymore (since 1.1)) >> >>This you wont have any other option then modifying the init scripts. >> >>Heiko >> > So I can put 'tmp' on a different vg than 'imap' and both will be > auto-mounted with the current DL setup? Only the stuff in the devil-linux VG will be automounted. -- Regards Heiko Zuerker http://www.devil-linux.org |
|
From: Tim T. <t....@co...> - 2004-05-04 15:24:37
|
Heiko Zuerker wrote: >>hzu...@ra... wrote: >> >> >> >>>On 05/03/2004 10:31:14 PM Tim Tait wrote: >>> >>> >>> >>> >>>>I am using an IMAP server on my DL box, but I don't want to store the >>>>IMAP stuff on the devil-linux vg because I want it to be on my RAID1 vg. >>>>So I have a mount entry in fstab to mount over that point... but, if >>>>there is no imap lv in the devil-linux vg, then devil-linux doesn't >>>>autocreate a mount point... so my mount fails. >>>> >>>>Is there an easy way to create the mount points on-the-fly without >>>>modifying scripts all the time, ie as you mount? >>>> >>>>If not, can we add the mount points for the usual devil-linux vg >>>>automounts in /var so that they can easily be mounted elsewhere if >>>>desired? >>>> >>>> >>>> >>>> >>>Actually the mount points get created dynamically, you can name the VGs >>>however you want to. >>>(Or in other words, there are no default VGs names anymore (since 1.1)) >>> >>>This you wont have any other option then modifying the init scripts. >>> >>>Heiko >>> >>> >>> >>So I can put 'tmp' on a different vg than 'imap' and both will be >>auto-mounted with the current DL setup? >> >> > >Only the stuff in the devil-linux VG will be automounted. > > (Light dawns) So for any lv in the devil-linux vg, a mount point of the same name as the lv will be created in /var, and then mounted? Tim |
|
From: Bruce S. <bw...@ar...> - 2004-05-04 15:34:32
|
> > > So I can put 'tmp' on a different vg than 'imap' and both will be > > > auto-mounted with the current DL setup? > > > > > Only the stuff in the devil-linux VG will be automounted. > > > (Light dawns) So for any lv in the devil-linux vg, a mount point of > the same name as the lv will be created in /var, and then mounted? Almost. That's true, except for those LV's specially listed as exceptions in the file /etc/sysconfig/lvmtab . The default exceptions in /etc/sysconfig/lvmtab are "swap", "/opt" and "/home". You can modify lvmtab to fit your needs. (same basic format as /etc/fstab). - BS |