Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mounting a raw partition

Status
Not open for further replies.

aballant

Programmer
Jan 31, 2002
46
US
Hi,

I need to urgently mount a raw fs partition. I've tried the following...


>mount -F raw /dev/rdsk/c2t1d0s2 /cemf/db
mount: operation not applicable to FSType raw

also

>mount /dev/rdsk/c2t1d0s2 /cemf/db
mount: operation not applicable to FSType raw

> mount /dev/rdsk c2t1d0s2 /cemf/db
Usage:
mount [-v | -p]
mount [-F FSType] [-V] [current_options] [-o specific_options]

All fail, any help please,

cheers,
Andrew



cheers,
Andrew
 
I don't really get what you are trying to do. Mount is only applicable to partitions that have had filesystems created on them. Raw partitions are just that - areas of native disc accessed directly by an application, usually a DB, bypassing the OS idea of a filesystem.

The term raw device on the other hand is not the same thing - it is simply the way the OS sees he disk as buffered on unbuffered, dsk versus rdsk. Mount in your example is failing because it does not work on the raw device - you need to use .../dsk/... e.g. mount /dev/dsk/c2t1d0s2 /cemf/db. However this will also fail if a filesystem has not been constructed on the underlying partition.

The only utilities I can think of that will work on raw paritions access it at the block level - e.g. dd to copy data from one disk to another or to tape.
 
I guess this is a Cisco EMF Objectstore databes from the name - in that case the release notes specifically warn against attempting to mount the device.

"Note: The disk where you create the raw partition should not be mounted. ObjectStore requires that the device is not referenced in /etc/vfstab, commenting out the line with the device is not enough. Consult your Systems Administrator if you are not sure how to do this."

 
Hi Julian,

Thanks this has completely answered my question,


many thanks,
Andrew


cheers,
Andrew
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top