Is there any system call available in AIX to read the size of raw disk?
If I use the command "lspv -L",it only gives size of PVs on which file system is there. I need to extract the size raw disk i.e. file system is not there on the disk.
The problem is there is not a single solution to this, so i give you a list of options you have in order of preferability (is this a word? english is not my native language):
SCSI-disk and native SSA-disks (not SSA-RAID-volumes, etc.) have an attribute called "size_in_mb", which you could read. Example: to get the size of hdisk0 you can type (and get this sample information for a 18GB disk)
If the disk in question is in a volume group you can find out with lspv like this (output is exemplary):
you could also use bootinfo, BUT: bootinfo is usually only executable by root, whereas lsattr is executable by everybody AND the bootinfo command won't work on some disks.
better use the "-o"-option of lsvg to get only the active VGs (the ones in the status VARYON), otherwise you will get a lot of error messages on the standby part of a HACMP cluster:
Hey friends,
i am trying to set up a raspbian wheezy vm on ma Unbuntu using qemu.
when i try to run the setup command the error is:
i tried to find something here in the forum but did not find anything. i was searching like 15 min pls dont roast me if there is a post explaining it.
:)... (3 Replies)
Can you please modify my script. This script is not working
for i in /dev/sdf
do
/bin/raw /dev/raw/`/bin/basename ${i}` ${i}
/bin/sleep 2
/bin/chown orasm:ordba /dev/raw/`/bin/basename ${i}`
/bin/chmod 660... (9 Replies)
The query is as follows :
A typical server configs when using Oracle or any other type of DB is to install the OS + DB binaries on the internal disks of the relevant server e.g.
Disk 1 : OS + SW + DB binaries
Disk 2 : Mirror of disk 1 (used for resiliency)
Then one uses an external array... (1 Reply)
Hi,
What is a Raw command and how does it work? We have to print out a large report from our database numerically and wanted to know how it can be done.
:confused: (1 Reply)
Hi
I have solaris 8 installed on Intel machine. the disk I have is IDE.
I would like to know how can I create a raw partition on an IDE disk.
Regards,
Raja (2 Replies)
Maybe this is the wrong forum to start this debate and I apologize if it is, but I have been wondering for some time which is better to use for a database, raw or filesystem? By better I mean don't just mean better performance but also ease of maintenance, etc.
I know that several years ago it... (5 Replies)