Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
To install a Sybase-database, the partitions created on the harddisk need te be raw. So no file system like ext3 installed onto it.
When installing RedHat, Disk Druid lets you partition your harddisk. However, there is always a file-system created on every partition by default (ext3).
Is there a way to create a raw partition at install-time with disk druid ?
How can I remove the file-system afterwards ?
Basically I need 2 raw partitions on a 72 GB HD.
- database1 (60GB)
- log1 (12GB)
You can't create raw partitions per se but you could leave empty space after creating the other partitions needed, then use fdisk to slice it up how you want, etc after the initial install.
OS : RedHat Enterprise Linux Advanced Platform
Database : sybase
Disk partitions :
sda : Logical Volume System with root and swap
sdb : Logical Volume Databases with LV database1, LV log1, LV database2, LV log2
I've made a RAW binding between /dev/raw/raw1 and /dev/sdb doing :
in etc/udev/rules.d/60-raw.rules :
action=="add", kernel=="sdb", run+="raw /dev/raw/raw1 %N"
then udevtest /block/sdb
gives me : main : run : '/bin/raw /dev/raw/raw1 /dev/.tmp-8-16
--> so the udev-rules work properly (according the redhat-manual)
I then give the start_udev -command and this gives me no problems.
to check if the raw-device exists : raw -qa
/dev/raw/raw1: bound to major 8, minor 16
Now, in fstab I still see that all my logical volumes exist, and they have the ext3 file system.
I think I now have a raw device and also still my logical volumes ?!
Will sybase see the raw device to place a database on it ?
I'm troubled with the question whether I now have a raw device sdb or not ?!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.