Sponsored Content
Operating Systems Solaris zones: Use a zpool or mount as a raw device? Post 302632937 by general_lee on Tuesday 1st of May 2012 07:02:39 AM
Old 05-01-2012
zones: Use a zpool or mount as a raw device?

Hi,

I need to create 4 zones.

I have an array with a RAID5 volume. I have exported 4 LUNS from the array. Now my host see the 4 LUNS as raw devices.

I am partitioning each LUN using format then mounting each slice on the global zone. Then I am using each slice as a file system for my non global zones.

Would it be better to export my RAID5 volume as one LUN. Then add it to a zpool and mkfile for each of my filesystems?

Thanks,

GL
 

10 More Discussions You Might Find Interesting

1. AIX

Logical volume to raw device

Hy I have several logical volumes that are turned into raw devices used by Informix DB. I would like to add some more. In /dev directory i see logical volumes as block files: lv_name1, lv_name2 ... and i see raw devices defined as character files: rlv_name1, rlv_name2 ... As i see,... (5 Replies)
Discussion started by: veccinho
5 Replies

2. UNIX for Advanced & Expert Users

raw device in Linux

Hello group, Is it possible to use partition on a disk as a raw device? I have a LUN on a SAN which I would like to partition and use those partitions as raw device. If it is feasable, how do I bind them to a device? For example, say sdd has 3 partitions on it, sdd1, sdd2 and sdd3. Can I... (1 Reply)
Discussion started by: bfay
1 Replies

3. Solaris

Increasing Raw device Sun Cluster 3.0

Hi All , I would like to know the procedure for increasing shared volume space in sun cluster . Currently the configuration is like these . Main stripe oradb1/d91 2 1 /dev/did/rdsk/d35s0 1 /dev/did/rdsk/d36s0 =Total 49 Gb oradb1/d94 -p oradb1/d91 -o 88080480 -b 14680064 ==Total 7 GB... (4 Replies)
Discussion started by: sahil_shine
4 Replies

4. Solaris

Import zpool with missing slog device

Hello, I have a problem on my backup server. I lost my system hdd and my separate ZIL device while the system crashs and now I'm in trouble. The old system was running under the least version of osol/dev (snv_134) with zfs v22. After the server crashs I was very optimistic of solving the problems... (2 Replies)
Discussion started by: ron2105
2 Replies

5. AIX

LVM & Raw device i/o comparison

Please consider this a question about basics&best practices. On AIX 5.3 system, three raw physical volumes are defined from storage. While doing a read with command dd from the raw device, the speed rate is 250Mb/s. Then, it gets complex when I define these three pv's to an lv of type raw. Doing... (4 Replies)
Discussion started by: royalliege
4 Replies

6. Solaris

Making Raw Device

Hi, I am using Sun Solaris 10 (Sparc 64 bit), I have a meta device /dev/dsk/emcpower26a mounting on /u01. I want to make this metadeice as raw device. Need solaris command to remove file system and make it as raw device ?. Is there any solaris command to check raw devices ?. Thanks (1 Reply)
Discussion started by: zeeshan047
1 Replies

7. Solaris

How to find used space on RAW device?

Hi, I'm trying to find out how to see used space on RAW device. I tried with prtvtoc -f RAWdevice but for 3 different device I'm getting the same FREE_SIZE which look a bit impossible. root@zg8cscfb1> prtvtoc -f /dev/md/redodg/rdsk/d300 FREE_START=0 FREE_SIZE=20352 FREE_COUNT=1 FREE_PART=... (2 Replies)
Discussion started by: MarioT
2 Replies

8. UNIX for Dummies Questions & Answers

How to start a raw device?

HI, I want to start Oracle on UNIX machine, now the , it is failing to startup because it cannot identify a raw device. Actually machine was rebooted and now we need to mount the devices, but i just want to know the command/way to mount or rather start/init a raw device. Please let me know. (2 Replies)
Discussion started by: Onkar Banerjee
2 Replies

9. Solaris

Zpool device weirdness

Weird duplicate device in one of my nested raidz1s - device is shown as both online and unavailable, with a hot spare showing up as degraded as well. Any thoughts on how I should proceed? root@storage# zpool status tank pool: tank state: DEGRADED status: One or more devices are... (6 Replies)
Discussion started by: DoohanMcGirk
6 Replies

10. Red Hat

Raw device/multipath details

Hi, How to find the raw device/multipath details of the LUN used by the diskgroups of the database. file system type -- ASM Oracle -- 11.2.0.3.0 OS -- Linux This is RAC database. Regards, Maddy (2 Replies)
Discussion started by: Maddy123
2 Replies
format(1M)																format(1M)

NAME
format - format an HP SCSI disk array LUN SYNOPSIS
device_file DESCRIPTION
formats one LUN of the HP SCSI disk array associated with device file, device_file. The format will usually be a soft or zeroing format, in which the controller writes zeroes to the data area and parity area, if any, of the LUN. NOTE: The above should always be true of a sub-LUN, but the controller might decide, based on certain conditions, to do a full format of a regular LUN, which consists of sending a mode select and a media initialization command to the physical drive(s) in question, fol- lowed by zeroing the data and parity area, if any. The conditions which will cause a full format to be done are as follows: 1. The controller received a Mode Select command which requires a drive sector size change. 2. The controller received a Mode Select command which changed a parameter in the Format Device Page(0x03). 3. The LUN contains one or more failed drives. In this case only a certain subset of the drives containing the failed drives will be formatted. 4. Either the FmtData or the CmpLst bit in the Format Unit CDB is set. RETURN VALUE
returns the following values: 0 Successful completion. -1 Command failed. DIAGNOSTICS AND ERRORS
Errors can originate from problems with: o o SCSI (device level) communications o system calls Error messages generated by format: An error in command syntax has occurred. Enter command again with all required arguments, in the order shown. To ensure that does not modify a disk array that is being used by another process, attempts to obtain exclusive access to the disk array. If the disk array is already opened by another process (for example, LVM -- the Logical Volume Manager), a "" error message is returned by the driver. To eliminate the "" condition, determine what process has the device open. In the case of LVM, it is necessary to deactivate the volume group containing the array before formatting array LUNs (see vgchange(1M)). The LUN number, which is derived from the device file name, is out of range. The addressed LUN is not configured, and thus is not known to the array controller. Utilities must be able to open the device file for raw access. The device being addressed is not an HP SCSI disk array. SCSI (device level) communication errors: Sense data associated with the failed operation is printed. Error messages generated by system calls: uses the following system calls: and Documentation for these HP-UX system calls contains information about the specific error conditions associated with each call. does not alter the value of The interpretation of for printing purposes is performed by the system utility EXAMPLES
To format the HP SCSI disk array LUN on a Series 800: WARNING
The command will destroy all user data on the addressed LUN. DEPENDENCIES
The HP C2425 and HP C2427 disk arrays are only supported on Series 700 systems running HP-UX version 9.0X. The HP C2430 disk array is supported on Series 700 and 800 systems running HP-UX versions 9.0X and 10.0X. AUTHOR
was developed by HP. format(1M)
All times are GMT -4. The time now is 06:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy