Creating raw partitions in RHEL5 for 10.2 CRS

Hi all,
I have a few questions about creating multipath raw partitiions in RHEL5. I'm aware that raw is deprecated in RHEL5 and I have read a number of articles published by Oracle on how to utilize udev rules and rc.local to create and set permissions on raw devices in RHEL5. I've had some success binding the raw devices but they do not seem to appear in the designated directory...
ex.)
[root@hostc ~]# /bin/raw /dev/raw/raw1 /dev/mapper/mpath4p2
/dev/raw/raw1: bound to major 253, minor 30
[root@hostc ~]# raw -qa
/dev/raw/raw1: bound to major 253, minor 30
[root@thdalnu3 ~]# ls -ltr /dev/raw/raw1
ls: /dev/raw/raw1: No such file or directory
Wouldn't I expect to see the raw1 device in the /dev/raw direcotry???? There's no /dev/raw directory at all. I tried creating a raw directory in /dev/ and that did not resolve the issue either. Any thoughts?
Thanks,
-Rich

I manually created the "/dev/raw" directory and then created the raw device:
# /bin/mkdir /dev/raw
# /bin/raw /dev/raw/raw1 /dev/hda1and got the {font:Courier}/dev/raw/raw1{font} device I expected. After a reboot the {font:Courier}/dev/raw{font} directory will disappear but a UDEV rule will recreate it. Since raw devices are deprecated, the {font:Courier}/dev/raw{font} directory is your responsibility; you could just as easily (and correctly) place these raw devices anywhere.

Similar Messages

  • How to create raw partition in a local zone?

    I tried to search for an answer for my question, but I spent a week and still no luck.
    What I am trying to do is to create raw partitions for Sybase in a local zone. I tried to add device and set match to the block and raw device.
    However, when I tried to do "format", I got core dumped. When I did zpool create, I got permission denied. Any advice?
    zonecfg:z001> info
    zonename: z001
    zonepath: /export/ZONE/z001
    autoboot: true
    pool:
    limitpriv:
    fs:
    dir: /shared/tmp
    special: /tmp
    raw not specified
    type: lofs
    options: []
    net:
    address: 10.110.1.2
    physical: e1000g1
    device
    match: /dev/rdsk/c6t60060160DF2413003E2F0C2DF945DC11d0
    device
    match: /dev/dsk/c6t60060160DF2413003E2F0C2DF945DC11d0

    You can't manipulate pools directly in a non-global zone. I'm not sure if you can run 'format'. You can use at least a limited amount of globbing. You might want to put a '*' at the end of your matched device name.
    You can hand off a raw partition via 'match' and put it under UFS control, or with recent versions of Solaris Express, you can delegate a portion of a ZFS filesystem to the zone.
    See the ZFS administration guide:
    http://www.opensolaris.org/os/community/zfs/docs/zfsadmin.pdf
    Especially the section on using ZFS in a zone (page 171). Note the guide is for the most recent version of ZFS in OpenSolaris. Versions available in Solaris 10 may not have all the same features.
    Darren

  • I have a 1TB external hard drive (NTFS) that has all my files from my old PC, how do I create a partition on it for HFS  without formatting it so that I can use it for Time Machine and the like?

    I have a 1TB external hard drive (NTFS) that has all my files from my old PC, how do I create a partition on it for HFS  without formatting it so that I can use it for Time Machine and the like?

    There aren't any 3rd party apps or anything. I use PC's and Mac's at school and the only computer connected to a printer at my house is a PC so i need access to both

  • Creating 2 partitions on HDD for M30-852

    Does anybody knows how to partition the HDD?
    The recovery disk is not offering any option for creating 2 partitions.
    I understood that the BIOS is located on HDD so you have to be very carefull about this, eg not using any other WIN XP CD-ROM?
    Is this true?

    Thanks a lot. Hope it works.
    What about BIOS located on HDD and not on the motherboard chipset?
    Is this true?
    This means you can not install/HDD format WINXP from a standard disk because of potential BIOS eraseure!
    Regards

  • How to create GPT Partition for onekey recovery windows8

    Plz any one can help me.....
    i have purchased laptop last week with following configurations:
    Lenovo  G510 i5 2.5ghz with windows 8 and OneKey recovery feature.
    My laptop was with windows 8 but i upgrade my hard drive 500 GB to 1 TB.
    But now i am unable to recover my windows8 image by using OneKeyrecovery (novo).
    So plz help me how to craete GPT partition style that will support for onekey recovery and recover Windows 8 image that is in my external hard drive.
    Please send me the complete procedure to create GPT partition style supported for onekey recovery.
    Also solve the following questions plz.
    1. How to create GPT partition style supported for onekey recovery?
    2. Total Number of partitions and their actual sizes.
    3. Size of C:
    4. Size of D:
    5. Size of recovery partition
    6.Size of all partitions
    Plz reply me at: ********@yahoo.com
    Regards: Aamir
    Moderator note: email address removed to keep away from the spambots.
    Solved!
    Go to Solution.

    Dear Customer
    Welcome in lenovo community
    Please use the below link to download and install the Lenovo Recovery application so that you can do what you looking for 
    Link : http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS035708
    Thanks
    Alaa
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Creating a Partition has frozen my Disk Utility!!!!!!!

    I need immediate help...I was trying to partition a drive into 2 and clicked partition after I had set it up. It's been creating a partition map now for the past 30 minutes or so. The color bar at the bottom has not moved past the 1/4 way mark. What can I do? Somebody please help me????
    Thanks,
    Sean

    Where's the HD? Internal, external? FW, USB, or both? What formatting selected. Paucity of information makes troubleshooting difficult.
    Quit Disk Utility. Then try DU again. If it hangs, then quit DU, create a new admin user account, log into it, and try again. Report back with details.

  • Raw partition creation on RHEL5 for OCR and Voting disk

    Hi all,
    I want to create MAp raw device for block device to use for installing OCR and Voting disk. As i see fro mmetalonk note 465001.1 we can creaet rules to do that but when i follow the steps given in that note, nothing is changed see bellow:
    [root@cdr-analysis01 ~]# /sbin/scsi_id -g -s /block/sdae/sdae1
    360014380024d178600005000006c0000
    [root@cdr-analysis01 ~]# /sbin/scsi_id -g -s /block/sdaf/sdaf1
    360014380024d178600005000006f0000
    Create udev naming rule file /etc/udev/rules.d/55-oracle-naming.rules
    # Configure persistent, user-defined Oracle Clusterware device file names
    KERNEL=="/dev/sdae1", BUS=="scsi", PROGRAM=="/sbin/scsi_id", RESULT=="360014380024d178600005000006c0000", NAME="ocr1", OWNER="root", GROUP="oinstall", MODE="0640"
    KERNEL=="/dev/sdaf1", BUS=="scsi", PROGRAM=="/sbin/scsi_id", RESULT=="360014380024d178600005000006f0000", NAME="vote1", OWNER="oracle", GROUP="oinstall", MODE="0640"
    [root@cdr-analysis01 ~]# udevtest /block/sdae/sdae1
    main: looking at device '/block/sdae/sdae1' from subsystem 'block'
    udev_rules_get_name: add symlink 'disk/by-id/scsi-360014380024d178600005000006c0000-part1'
    udev_rules_get_name: add symlink 'disk/by-path/pci-0000:10:00.1-fc-0x50014380025ae47d:0x0007000000000000-part1'
    run_program: '/lib/udev/vol_id --export /dev/.tmp-65-225'
    run_program: '/lib/udev/vol_id' returned with status 4
    run_program: '/sbin/scsi_id'
    run_program: '/sbin/scsi_id' returned with status 1
    udev_rules_get_name: no node name set, will use kernel name 'sdae1'
    udev_device_event: device '/block/sdae/sdae1' already in database, validate currently present symlinks
    udev_node_add: creating device node '/dev/sdae1', major = '65', minor = '225', mode = '0640', uid = '0', gid = '6'
    udev_node_add: creating symlink '/dev/disk/by-id/scsi-360014380024d178600005000006c0000-part1' to '../../sdae1'
    udev_node_add: creating symlink '/dev/disk/by-path/pci-0000:10:00.1-fc-0x50014380025ae47d:0x0007000000000000-part1' to '../../sdae1'
    main: run: 'socket:/org/kernel/udev/monitor'
    main: run: '/lib/udev/udev_run_devd'
    main: run: 'socket:/org/freedesktop/hal/udev_event'
    main: run: '/sbin/pam_console_apply /dev/sdae1 /dev/disk/by-id/scsi-360014380024d178600005000006c0000-part1 /dev/disk/by-path/pci-0000:10:00.1-fc-0x50014380025ae47d:0x0007000000000000-part1'
    The name is not changed and the raw partition is not created
    Could you help
    Please
    Raitsarevo

    raitsarevo wrote:
    I want to create MAp raw device for block device to use for installing OCR and Voting disk. Why not define it as a raw devices (despite raw devices being deprecated in the current Linux kernel, it is still available for backwards compatibility)? Quite easy to configure.
    Do the install and then when done, rename the disks from block devices back to character devices - there's a Metalink note that covers how to do that. Sorry - not in the office and do not have the Metalink note at hand. However, have used this approach successfully with 3 RAC installation (RHEL4 and RHEL5) in recent months.

  • Should I create a partition on external drive for iTunes music?

    ...or will it create it's own space outwith my backup stuff?
    (Secondary question: would moving my iTunes music from internal to external drive noticably improve performance of my Mac? I'm using about 135GB of a 250GB drive, 60GB of which is in iTunes Music folder)

    Should I create a partition on external drive for iTunes music? or will it create it's own space outwith my backup stuff?
    I see no good reason to create a separate partition unless you're backing up with Time Machine. TM prefers to have it's own volume, so in that case partitioning would probably be a good idea.
    would moving my iTunes music from internal to external drive noticably improve performance of my Mac? I'm using about 135GB of a 250GB drive, 60GB of which is in iTunes Music folder.
    No, probably not. As long as you're not getting the drive too full - opinions vary but about 20GB remaining should be plenty for most uses - you probably won't see any overall change in performance just from moving the iTunes content.
    Message was edited by: Dave Sawyer

  • Can I force the bootcamp wizard to skip looking for the bootcamp drivers?  I have already downloaded the latest drivers and loaded them on a FAT usb drive.  All I want is for bootcamp to create the partition and allow me to install windows 8 pro

    Hi Everyone,
    Can I force the bootcamp wizard to skip looking for the bootcamp drivers?  I have already downloaded the latest drivers and loaded them on a FAT usb drive.  All I want is for bootcamp to create the partition and allow me to install windows 8 pro.
    The bootcamp drivers have been downloaded from apple's website.  Filename:  BootCamp5.0.5033
    I have a iMac 27" late 2013 model.
    NOTE:  I have downloaded the drivers manually from apples support site as the bootcamp wizard fails third of the way through the download.
    Appreciate any assistance.
    Regards,
    asdutoit

    There is a missing point in this thread, and it is that the Boot Camp drivers for the Late 2013 iMac can only be downloaded from Boot Camp Assistant. The Boot Camp drivers available in the Apple site are not compatible with that iMac.
    Delete the Boot Camp drivers from the USB drive, open Boot Camp Assistant and try to download the Boot Camp drivers again. If you get a message telling you that they could not be downloaded, I would try reinstalling OS X through OS X Recovery, by holding down Command and R keys while your Mac is starting up

  • How to create extra partitions for windows 7 after installing boot camp

    hello
    i am pretty new at imac so bare with me and i really need help.
    IMAC
    OS X version  10.9.5  ( i think its os X mavericks ??)
    iMac 21. inch  , Late 2013
    iMac model identifier  iMac 14,1
    i installed boot camp windows 7  and it works perfectly, after i tried to create two partition using disk utility  for windows 7 (ms-dos) format because i really want to separate my files on other partition instead of everything on Boot Camp drive.  after i restart choosing windows OS i cannot go back to windows 7.
    i hold option on the keyboard but does not show window 7 so i went back to Apple ox s , found my boot camp hd on the desktop with files in it.  checked boot camp assistance showing 
    " The startup disk must be formatted as a single Mac OS Extended (Journaled) volume or already partitioned by Boot Camp Assistant for installing Windows. "
    i read alot of article about but i don't seem to understand much about
    i understand alot of people created these kind of topics
    please if someone can help me solve this problem again
    i only want an apple os ,  boot camp for windows 7  and 2 extra partitions for storage  ,  my hard drive is 1TB
    thank you

    Last login: Mon Feb 16 16:11:46 on console
    YLFs-iMac:~ ylf$ diskutil list
    /dev/disk0
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *1.0 TB     disk0
       1:                        EFI EFI                     209.7 MB   disk0s1
       2:                  Apple_HFS Macintosh HD            999.3 GB   disk0s2
       3:                 Apple_Boot Recovery HD             650.0 MB   disk0s4
    /dev/disk1
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:     FDisk_partition_scheme                        *8.0 GB     disk1
       1:                 DOS_FAT_32 WININSTALL              8.0 GB     disk1s1
    YLFs-iMac:~ ylf$ diskutil cs list
    No CoreStorage logical volume groups found
    YLFs-iMac:~ ylf$ sudo gpt -vv -r show /dev/disk0
    Password:
    gpt show: /dev/disk0: mediasize=1000204886016; sectorsize=512; blocks=1953525168
    gpt show: /dev/disk0: PMBR at sector 0
    gpt show: /dev/disk0: Pri GPT at sector 1
    gpt show: /dev/disk0: Sec GPT at sector 1953525167
           start        size  index  contents
               0           1         PMBR
               1           1         Pri GPT header
               2          32         Pri GPT table
              34           6        
              40      409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
          409640  1951845952      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
      1952255592     1269536      3  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
      1953525128           7        
      1953525135          32         Sec GPT table
      1953525167           1         Sec GPT header
    YLFs-iMac:~ ylf$
    Also i do not have boot camp installed yet because like i said, it messed up my boot camp after i created the partition thats why i removed boot camp, right now i only have APPLE OS

  • Creating a partition for UEFI (Install Help)

    Hi everyone. I've been trying to search for an answer for this for a while and have came up blank. I'm ready to switch over to Arch Linux officially, after testing it in VirtualBox for a while. However, I'm a tad confused on some of the documentation for the partition setup for UEFI motherboards.
    I understand partitioning can be more of a 'personal preference' type of thing, but was wondering if someone might be able to assist me in how it should be setup.....
    Reading from https://wiki.archlinux.org/index.php/Un … n_in_Linux, should I create the partition like so or should there be a separate boot partition for UEFI?
    Should it be setup like this?
    Name Flags Part Type FS Type [Label] Size (MB)
    sda1 Boot Primary Linux 15440 <-- FAT32 Filesystem for UEFI
    sda2 Primary Linux swap / Solaris 1024
    sda3 Primary Linux {rest of space}*
    or like this...?
    Name Flags Part Type FS Type [Label] Size (MB)
    sda1 Boot Primary Linux 15440
    sda2 Boot Primary Linux 512 <-- FAT32 Filesystem for UEFI
    sda3 Primary Linux swap / Solaris 1024
    sda4 Primary Linux {rest of space}*
    Additionally, secondary question, from the Beginners Guide, it has the following line for installing GRUB..
    grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=arch_grub --recheck
    For "--efi-directory=/boot/efi" is this something that I will need to create manually? I saw some forum posts where people needed to place something in their bootable usb drive, but I'm using a Live Disk. Thanks.
    Edit: Solved second question.
    Last edited by Quill (2012-09-07 03:33:01)

    After much research, I've found a lot more information on this. I'm going to take this approach I think..
    Setup partitions like:
    Name Flags Part Type FS Type [Label] Size (MB)
    sda1 Boot Primary Linux 15440
    sda2 Primary Linux swap / Solaris 2048
    sda3 Primary Linux {rest of space}*
    After setting up file systems.. Then do this..
    # mount /dev/sda1 /mnt
    # mkdir /mnt/boot/efi
    # mount /dev/sda1 /mnt/boot/efi
    When installing GRUB..
    # pacman -S grub-efi-x86_64
    # grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=arch_grub --recheck
    # grub-mkconfig -o /boot/grub/grub.cfg
    Can someone confirm if that is the correct setup? Also, as it states I need to make it a FAT32 Filesystem, will this affect anything if I have my entire boot partition on FAT32?
    Last edited by Quill (2012-09-07 04:05:57)

  • Boot camp 5.0.1 aways crash when i try to create a partition for windows. My mac is new MBP retina.Any one can help me?

    boot camp 5.0.1 aways crash when i try to create a partition for windows. My mac is new MBP retina.Any one can help me?

    boot camp 5.0.1 aways crash when i try to create a partition for windows. My mac is new MBP retina.Any one can help me?

  • How to create DB partitioning in active data tables for ods?

    hi all,
    Can anyone let me know how to create DB partitioning in active data tables for ods. if any docs pls share with me at my email id : [email protected]
    regds
    haritha

    Haritha,
    The following steps will briefly explain you to improve the performance in terms of DB partitioning as well as loading. Please find the same,
    transaction RSCUSTA2,
    oss note 120253 565725 670208
    and remove 'bex reporting' setting in ods if that ods not used for reporting.
    hope this helps.
    565725
    Symptom
    This note contains recommendations for improving the load performance of ODS objects in Business Information Warehouse Release 3.0B and 3.1 Content.
    Other terms
    Business Information Warehouse, ODS object, BW, RSCUSTA2, RSADMINA
    Solution
    To obtain a good load performance for ODS objects, we recommend that you note the following:
    1. Activating data in the ODS object
    In the Implementation Guide in the BW Customizing, you can implement different settings under Business Information Warehouse -> General BW settings -> Settings for the ODS object that will improve performance when you activate data in the ODS object.
    1. Creating SIDs
    The creation of SIDs is time-consuming and may be avoided in the following cases:
    a) You should not set the indicator for BEx Reporting if you are only using the ODS object as a data store.Otherwise, SIDs are created for all new characteristic values by setting this indicator.
    b) If you are using line items (for example, document number, time stamp and so on) as characteristics in the ODS object, you should mark these as 'Attribute only' in the characteristics maintenance.
    SIDs are created at the same time if parallel activation is activated (see above).They are then created using the same number of parallel processes as those set for the activation. However:if you specify a server group or a special server in the Customizing, these specifications only apply to activation and not the creation of SIDs.The creation of SIDs runs on the application server on which the batch job is also running.
    1. DB partitioning on the table for active data (technical name:
    The process of deleting data from the ODS object may be accelerated by partitioning on the database level.Select the characteristic after which you want deletion to occur as a partitioning criterion.For more details on partitioning database tables, see the database documentation (DBMS CD).Partitioning is supported with the following databases:Oracle, DB2/390, Informix.
    1. Indexing
    Selection criteria should be used for queries on ODS objects.The existing primary index is used if the key fields are specified.As a result, the characteristic that is accessed more frequently should be left justified.If the key fields are only partially specified in the selection criteria (recognizable in the SQL trace), the query runtime may be optimized by creating additional indexes.You can create these secondary indexes in the ODS object maintenance.
    1. Loading unique data records
    If you only load unique data records (that is, data records with a one-time key combination) into the ODS object, the load performance will improve if you set the 'Unique data record' indicator in the ODS object maintenance.
    Hope this helps..
    ****Assign Points****
    Thanks,
    Gattu

  • If i create a partition for Windows 7, and boot up in Windows using Boot Camp, can I still access the files from the Mac partition (Photo's Music etc.)

    If i create a partition for Windows 7, and boot up in Windows using Boot Camp, can I still access the files from the Mac partition (Photo's Music etc.)

    JDFitch wrote:
    Ok Great,
    Will installing Boot Camp drivers allow me to both read and write to the OS X Volume from windows?
    This is important as if it will it means i can make the windows partition a lot smaller and keep all my files on the OS X partition which would be preferable.
    Jon
    No, OSX will be read only (from Windows) and vice versa. (you can install 3rd party utilities on either or both partitions, to make read/write possible)

  • How to use RAW partition for Oracle for placing data?

    Dear all,
    I have installed Oracle on a SUN machine and use database mount point /oracle which is a UFS system.
    But now I would like to use RAW partition instead of a UFS system to place Oracle database data...
    The installation guide mentions that database mount points have to be prepared before installation, could I just use /dev/rdsk/c0t0d0s5 as database mount points after partitioning c0t0d0s5?
    I am attempting to create a tablespace in the above partition... Could any experts tell me if the above works?
    Thanks a lot!

    kwan,
    Raw partion is used to store Oracle data files and not Oracle software. Oracle home is going be in regular file system. More than one file can not share the same raw device.
    You create the raw device at the OS level using the OS command. Then create tablespace on Oracle and use the clause DATAFILE 'Raw file Name'
    Hope this helps
    Best,
    G

Maybe you are looking for

  • Images in a KM Document

    I have created a KM document iview for a KM document which refers to an image within the same folder. The problem is that the image is not showing up in the iView. Though the image shows up if its a url iview. Does anyone know how I could acheive thi

  • Extending the range of Airport Extreme in house with walls

    Any sugggestions on the best way to extend the range of Airport Extreme? The base unit is located in an office at one end of a house. I would like to be able to connect from rooms at the other end of the house, some 70' away. There are three walls be

  • Non- muxed  video  problem

    i am trying to get the sprint: locker room video from this site http://www.ifilm.com/player/?ifilmId=2691874&pg=&skin=askmen&refsite=6183&launch Val=1&mediaSize=default onto my ipod, i have converted it to ipod format but whe i watch it on my ipod, t

  • My ipod is frozen

    my ipod is frozen on the do not disconnect screen. What can i do? thanks

  • Sidecar files on a Mac

    On the mac these 'files' are not stored as '.xmp files' but the information is stored within a resource fork within the .dng file (which is updated every time the image is processed). I intend to stop using 'auto updating of the xmp file', so that I