03-22-2015
10 More Discussions You Might Find Interesting
1. AIX
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
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
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. Red Hat
I have an HP blade with Qlogic HBA's connected to an EVA8000. I have downloaded the latest multipath.conf from HP's website. The drive presented to the server appears to be configured and working except the output of "multipath -l" shows for all paths. What is causing this output?
mpath0... (2 Replies)
Discussion started by: manzier
2 Replies
5. Solaris
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
6. Solaris
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... (3 Replies)
Discussion started by: general_lee
3 Replies
7. Solaris
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
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. Red Hat
Hi,
I am testing on iSCSI + multipath, where i have one iSCSI lun assigned to one server.
mpatha (1IET 00010001) dm-2 IET,VIRTUAL-DISK
size=100M features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| `- 2:0:0:1 sda 8:0 active ready running
`-+-... (6 Replies)
Discussion started by: linux.amrit
6 Replies
10. Solaris
Hello,
I am trying to setup a storage server with salvaged equipments:
QSSC-S4R server, with QLogic 2562 FC HBA's
Clariion KTN-STL4 4GB FC Enclosures
Disks Salvaged from EMC Vmax
Disks are 520B sector size so i converted to 512B in linux environment and create multipath successfully. But... (4 Replies)
Discussion started by: amd103
4 Replies
LEARN ABOUT OPENSOLARIS
di_devfs_minor_path
di_devfs_path(3DEVINFO) Device Information Library Functions di_devfs_path(3DEVINFO)
NAME
di_devfs_path, di_devfs_minor_path, di_path_devfs_path, di_path_client_devfs_path, di_devfs_path_free - generate and free path names
SYNOPSIS
cc [ flag... ] file... -ldevinfo [ library... ]
#include <libdevinfo.h>
char *di_devfs_path(di_node_t node);
char *di_devfs_minor_path(di_minor_t minor);
char *di_path_devfs_path(di_path_t path);
char *di_path_client_devfs_path(di_path_t path);
void di_devfs_path_free(char *path_buf);
PARAMETERS
node The handle to a device node in a di_init(3DEVINFO) snapshot.
minor The handle to a device minor node in a snapshot.
path The handle to a device path node in a snapshot.
path_buf A pointer returned by di_devfs_path(), di_devfs_minor_path(), di_path_devfs_path(), or di_path_client_devfs_path().
DESCRIPTION
The di_devfs_path() function generates the physical path of the device node specified by node.
The di_devfs_minor_path() function generates the physical path of the device minor node specified by minor.
The di_path_devfs_path() function generates the pHCI physical path to the device associated with the specified path node. The returned
string is identical to the di_devfs_path() for the device had the device not been supported by multipath.
The di_path_client_devfs_path() function generates the vHCI physical path of the multipath client device node associated with the device
identity of the specified path node. The returned string is identical to the di_devfs_path() of the multipath client device node.
The di_devfs_path_free() function frees memory that was allocated to store the path returned by di_devfs_path(), di_devfs_minor_path(),
di_path_devfs_path(), and di_path_client_devfs_path(). The caller is responsible for freeing this memory by calling di_devfs_path_free().
RETURN VALUES
Upon successful completion, the di_devfs_path(), di_devfs_minor_path(), di_path_devfs_path(), and di_path_client_devfs_path() functions
return a pointer to the string containing the path to a device node, a device minor node, or a device path node, respectively. Otherwise,
they return NULL and errno is set to indicate the error. For a non-NULL return, the path will not have a "/devices" prefix.
ERRORS
The di_devfs_path(), di_devfs_minor_path(), di_path_devfs_path(), and di_path_client_devfs_path() functions will fail if:
EINVAL The node, minor, or path argument is not a valid handle.
The di_devfs_path(), di_devfs_minor_path(), di_path_devfs_path(), and di_path_client_devfs_path() functions can also return any error value
returned by malloc(3C).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO
di_init(3DEVINFO), libdevinfo(3LIB), malloc(3C), attributes(5)
Writing Device Drivers
SunOS 5.11 15 May 2008 di_devfs_path(3DEVINFO)