How to find used space on RAW device?


 
Thread Tools Search this Thread
Operating Systems Solaris How to find used space on RAW device?
# 1  
Old 11-16-2012
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.

Code:
root@zg8cscfb1> prtvtoc -f /dev/md/redodg/rdsk/d300
FREE_START=0 FREE_SIZE=20352 FREE_COUNT=1 FREE_PART=
root@zg8cscfb1> prtvtoc -f /dev/md/redodg/rdsk/d301
FREE_START=0 FREE_SIZE=20352 FREE_COUNT=1 FREE_PART=
root@zg8cscfb1> prtvtoc -f /dev/md/redodg/rdsk/d302
FREE_START=0 FREE_SIZE=20352 FREE_COUNT=1 FREE_PART=
root@zg8cscfb1> prtvtoc -f /dev/md/oradg/rdsk/d406
FREE_START=0 FREE_SIZE=20352 FREE_COUNT=1 FREE_PART=

Can somebody tell me what exactly are FREE_START, FREE_SIZE, FREE_COUNT and FREE_PART.

Thanks
Mario

Moderator's Comments:
Mod Comment Please use code tags next time for your code and data.

Last edited by radoulov; 11-16-2012 at 11:32 AM..
# 2  
Old 11-16-2012
As it seems these devices are used by an Oracle database,
you could see their sizes from inside the database (see v$logfile/v$log, v$datafile and v$tempfile).
Note also that the allocated size could (and most probably will) be different than the actual used size,
if that matters in your case.
# 3  
Old 11-19-2012
Thanks a lot for the answer.

Mario
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

No space left on device while there is plenty of space available

Hello all posting here after scanning the net and tried most of the things offered still no solution that worked when I do : $ df -h Filesystem Size Used Avail Use% Mounted on footmpfs 7.9G 60K 7.9G 1% /dev tmpfs 7.9G 0 7.9G 0% /dev/shm /dev/da1 ... (3 Replies)
Discussion started by: umen
3 Replies

2. 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

3. 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

4. Solaris

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... (3 Replies)
Discussion started by: general_lee
3 Replies

5. 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

6. 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

7. Solaris

No space left on device but free space and inodes are available...

hi guys, me again ;) i recently opened a thread about physical to zone migration. My zone is mounted over a "bigger" LUN (500GB) and step is now to move the old files, from the physical server, to my zone. We are talking about 22mio of files. i used rsync to do that and every time at... (8 Replies)
Discussion started by: beta17
8 Replies

8. 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

9. 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

10. 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
Login or Register to Ask a Question