Sponsored Content
Full Discussion: HPUX mounting problems
Top Forums UNIX for Dummies Questions & Answers HPUX mounting problems Post 7925 by loadc on Wednesday 3rd of October 2001 01:53:29 PM
Old 10-03-2001
Well, you got some options

And there are more than I have space for here, but your usual suspects are:

NFS mounts and shares

SMB, this is not something I've done much of...

"r" services, rcp, etc.

scp, the secure answer to the above...


I'll cover the NFS stuff quick, a "man -k nfs" will help here as well...
First, you have to share the areas you want to mount. You have to have RPC running to do this (usually on by default), then you have to export the filesystems. You can do this in a number of ways, I think that Hp uses "exportfs" as the way to do this, read the man page on it, it is a little confusing, but similar toa "mount" command.

Now, you have to mount this as an NFS vol from the other system. This is much easier, usually you just do a
mount -F nfs -o (options here) host:/file/system/name

NFS has some strange things, and it depends on RPC and the share being registered with the RPCBIND deal and you can lose mounts and have stale filehandles on the box mounting the share, etc. If you are just going to mount for the short period of time that you do the backup, then this may be ok, but if you want to leave these mounted constantly, I would look to something that can better discern who is mounting the filesystems (you can make the share specific to a host, but I believe that this is checked via ip, and is not trustworthy).

You could use rcp, but that entails opening the port and using RPC to auth your rcp-ing processes, this is an open hole on a system. I would suggest against this.


You could use scp to cp teh data over to the tape box and then tape and delete. This has encryption end to end, and is also verified via keys held on the boxes. It can be broken but is much less likely to be.

Now, if you are not connected to the outside world, and you really don't mind security, any of these will work, but I would suggest looking for a secure solution to send data over the wire, woth checksums, if possible, if you are exposed at all to a network that "could" be dirty.


HTH some,


loadc
 

9 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Mounting...?

Hi everyone, this is the first time I have ever properly used Linux - I run Red Hat Linux 8. I have two hardrives, my main 80gig, and my "extra" 15gig, I would like to be able to gain access to my 15gig and view the files. I know to view files on a floppy disk or a cd you need to mount the... (1 Reply)
Discussion started by: mo0ness
1 Replies

2. UNIX for Dummies Questions & Answers

CD mounting problems with linux

Hi guys I'm a newbie with linux i recently installed mandrake linux 10.0 double boot(win 98se) on a pIII 300mhz 128mb ram PC I have a standard cd rom and for some reason, linux refuses to mount the CD drive it worked perfectly for the first cople of monthes and than suddenly it didn't it... (0 Replies)
Discussion started by: bentzi
0 Replies

3. BSD

Mounting

Hi I mounted disk which have two partition C: , D: ( i am not sure if both partition have same file system) with this commad: mount -t msdosfs /dev/ad2s1 /mnt/windows but this is mounted only first partition with fat file system. ( in windows XP C: ) How can i mount another partition... (2 Replies)
Discussion started by: sniper007
2 Replies

4. Shell Programming and Scripting

Need Script to Use CPUs on a HPUX server to simulate Workload Manager on HPUX.

I am running HPUX and using WLM (workload manager). I want to write a script to fork CPUs to basically take CPUs from other servers to show that the communication is working and CPU licensing is working. Basically, I want to build a script that will use up CPU on a server. Any ideas? (2 Replies)
Discussion started by: cpolikowsky
2 Replies

5. Filesystems, Disks and Memory

mounting

I generally use mount many times to mount an iso image or as a bind between directories or mounting a squash file system. Y does one require root permission to do a mount --bind between two of his own directories or just mount an iso/squash image in directory he owns? Also I wish mount had an... (0 Replies)
Discussion started by: bbala
0 Replies

6. HP-UX

Having problem with mounting in HPUX

Hi Gurus, I'm using HP-UX B.11.23 system. I've been having some problem in mounting a filesystem that has been defined in /etc/fstab as shown below. fstab entries: /dev/vgsap/ora10264 /oracle/PRD/102_64 vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2 /dev/vgsap/orasapreog... (2 Replies)
Discussion started by: superHonda123
2 Replies

7. HP-UX

pwage-hpux-T for Trusted HPUX servers

I'm sharing this in case anybody needs it. Modified from the original solaris pwage script. This modified hpux script will check /etc/password file on hpux trusted systems search /tcb and grep the required u_succhg field. Calculate days to expiry and notify users via email. original solaris... (2 Replies)
Discussion started by: sparcguy
2 Replies

8. UNIX for Advanced & Expert Users

Problems with udev & mounting fat32 usb storage

I have been trying to get USB storage devices to auto-mount themselves under "/media/usb/<dev>" but have been running into some problems with udev (on FC7, btw... running udevd v.106) Every time I put in a FAT (not 32) USB stick, udev identifies it as "USB storage", identifies the partition and... (3 Replies)
Discussion started by: jjinno
3 Replies

9. Shell Programming and Scripting

Mounting

I have a big confusion in mounting........so please tell me whats the exact meaning of it nd do other os have this concept or not? (8 Replies)
Discussion started by: Mac91
8 Replies
mt(1)								   User Commands							     mt(1)

NAME
mt - magnetic tape control SYNOPSIS
mt [-f tapename] command... [count] DESCRIPTION
The mt utility sends commands to a magnetic tape drive. If -f tapename is not specified, the environment variable TAPE is used. If TAPE does not exist, mt uses the device /dev/rmt/0n. OPTIONS
The following option is supported: -f tapename Specifies the raw tape device. OPERANDS
The following operands are supported: count The number of times that the requested operation is to be performed. By default, mt performs command once. Multiple opera- tions of command may be performed by specifying count. command Available commands that can be sent to a magnetic tape drive. Only as many characters as are required to uniquely identify a command need be specified. eof Writes count EOF marks at the current position on the tape. weof fsf Forward spaces over count EOF marks. The tape is positioned on the first block of the file. fsr Forward spaces count records. bsf Back spaces over count EOF marks. The tape is positioned on the beginning-of-tape side of the EOF mark. bsr Back spaces count records. nbsf Back spaces count files. The tape is positioned on the first block of the file. This is equivalent to count+1 bsf's followed by one fsf. asf Specifies absolute space to count file number. This is equivalent to a rewind followed by a fsf count. If count is specified with any of the following commands, the count is ignored and the command is performed only once. eom Spaces to the end of recorded media on the tape. This is useful for appending files onto previously written tapes. rewind Rewinds the tape. offline Rewinds the tape and, if appropriate, takes the drive unit off-line by unloading the tape. rewoffl status Prints status information about the tape unit. retension Rewinds the cartridge tape completely, then winds it forward to the end of the reel and back to beginning- of-tape to smooth out tape tension. reserve Allows the tape drive to remain reserved after closing the device. The drive must then be explicitly released. release Re-establishes the default behavior of releasing at close. forcereserve Breaks the reservation of the tape drive held by another host and then reserves the tape drive. This com- mand can be executed only with super-user privileges. erase Erases the entire tape. Caution: Some tape drives have option settings where only portions of the tape may be erased. Be sure to select the correct setting to erase the whole tape. Erasing a tape may take a long time depending on the device and/or tape. Refer to the device specific manual for time details. config Reads the drives current configuration from the driver and displays it in st.conf format. See st(7D) for definition of fields and there meanings. EXIT STATUS
0 All operations were successful. 1 Command was unrecognized or mt was unable to open the specified tape drive. 2 An operation failed. FILES
/dev/rmt/* magnetic tape interface ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
tar(1), tcopy(1), ar.h(3HEAD), environ(4), attributes(5), mtio( 7I), st(7D) BUGS
Not all devices support all options. Some options are hardware-dependent. Refer to the corresponding device manual page. mt is architecture sensitive. Heterogeneous operation (that is, SPARC to x86 or the reverse) is not supported. SunOS 5.10 1 Sep 2004 mt(1)
All times are GMT -4. The time now is 07:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy