1848789 Members
7385 Online
104036 Solutions
New Discussion

Re: mount tape device

 
osbertv
New Member

mount tape device

I have a server (HP-UX 11.0/HP9000 N-class) with few free space and want to use my tape drive as a medium for data Exporting on an ORACLE Database.
How can i mount a tape device which can be accessed directly as another volume or directory?
the oracle export script i use writes directly to the disk and then later uses tar to backup. the problem is, i don't have the disk space to store/export my files for the tar command. So i wan't to map my tape drive as another directory or volume.
hope someone can help me, I'm only a beginner on HP-UX.
4 REPLIES 4
Chakravarthi
Trusted Contributor

Re: mount tape device

Rajeev  Shukla
Honored Contributor

Re: mount tape device

In your configuration file in Oracle where you specify the filesystem/directory to write the export file to, give the device file of the tape drive.
Or when you do a DB export and specify the filesystem to write the file to, try using the device file of the tape.

Rajeev
osbertv
New Member

Re: mount tape device

the tape is /dev/rmt/0m.
this is the DB export command :
"export "

I havn't tried to use "/dev/rmt/0m" as the target directory because it is a file and i might overwrite that file causing trouble.
If i will use it do i need to mount the tape?
please give me advise.

thanks in advance.
Rajeev  Shukla
Honored Contributor

Re: mount tape device

These are device files, so when you send anything to them they write to respective devices. Like when you do echo "hello" >/dev/console or echo "hello" >/dev/cl..(device file of parallel port printer) it doesn't over write these files, it sends the output to these devices. Also i am sure about Informix it has a configuration files where you can specify either the filesystem or the device file for DB export it works.
If you want to be more sure check out the site of oracle for taking the DB export on a device.

Cheers
Rajeev