LVM: how to set user:group for logical volumes AND KEEP THEM SO?
I'm using the LVM for the first time with SuSE 8.0. I want to use the logical volumes as RAW device for Sybase 11.9.2.3. Is there a possibility to 1. define user:group (eg. sybase:sybase) for the lv's in a manner that after a reboot they belong still to sybase and not again to root? 2. The logical volumes are only as block device created and unfortunately not also as raw devices. Hot to change them into raw devices? 3. a better management tool then yast (yast2, even in text mode strange). Problem of yast: it tries, after starting the tool, alway to link my logical volumes to self created mount points. How to provide this? I really would appreciate any help. CU, Roland <html> <head> <title></title> </head> <body> <p><small><font face="Courier">---------------------------------------------------------------------- LGT Bank in Liechtenstein Tel.: ++423 235 11 22 Aktiengesellschaft Fax : ++423 235 15 22 Herrengasse 12 Mail: <a href="mailto:info@lgt.com">mailto:info@lgt.com</a> FL-9490 Vaduz Web : <a href="http://www.lgt.com">http://www.lgt.com</a> Fuerstentum Liechtenstein ---------------------------------------------------------------------- Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer does not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of my firm shall be understood as neither given nor endorsed by it. ----------------------------------------------------------------------- </font></small></p> </body> </html>
Am Fre, 2002-07-19 um 13.28 schrieb Rick Roland: Well, you should get your mailer not to send html ;)
I'm using the LVM for the first time with SuSE 8.0.
I want to use the logical volumes as RAW device for Sybase 11.9.2.3.
Is there a possibility to
1. define user:group (eg. sybase:sybase) for the lv's in a manner that after a reboot they belong still to sybase and not again to root? Well, the only way I've found would be to add a script in /etc/rc.d/boot.d that makes your changes after lvm got activated.
2. The logical volumes are only as block device created and unfortunately not also as raw devices. Hot to change them into raw devices?
Well, I'd assume like that: vaio2:/etc/rc.d/boot.d # raw /dev/raw/raw1 /dev/system/usr /dev/raw/raw1: bound to major 58, minor 0 Basically in Linux raw devices (that are usually seldom used) are bound dynamically with the raw tool to /dev/raw/rawN Again, I'd advice to write your own boot script that is run after boot.lvm.
3. a better management tool then yast (yast2, even in text mode strange). Problem of yast: it tries, after starting the tool, alway to link my logical volumes to self created mount points. How to provide this? I cannot actually follow what your problem with yast2 is, but yast2 is absolutly not needed to maintain a SuSE Linux system. Actually in SuSE 8.0 it's easier than in earlier versions. Just use vi, and one of the many nice files in /etc :)
<html> <head> <title></title> Hmmm, cooles HTML Signatur :)
mfG, Andreas Kostyrka
participants (2)
-
Andreas Kostyrka
-
Rick Roland