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
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
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
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
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
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
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
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
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
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
LEARN ABOUT DEBIAN
mt-gnu
MT(1) General Commands Manual MT(1)
NAME
mt - control magnetic tape drive operation
SYNOPSIS
mt [-V] [-f device] [--file=device] [--rsh-command=command] [--version] operation [count]
DESCRIPTION
This manual page documents the GNU version of mt. mt performs the given operation, which must be one of the tape operations listed below,
on a tape drive.
The default tape device to operate on is taken from the file /usr/include/sys/mtio.h when mt is compiled. It can be overridden by giving a
device file name in the environment variable TAPE or by a command line option (see below), which also overrides the environment variable.
The device must be either a character special file or a remote tape drive. To use a tape drive on another machine as the archive, use a
filename that starts with `HOSTNAME:'. The hostname can be preceded by a username and an `@' to access the remote tape drive as that user,
if you have permission to do so (typically an entry in that user's `~/.rhosts' file).
The available operations are listed below. Unique abbreviations are accepted. Not all operations are available on all systems, or work on
all types of tape drives. Some operations optionally take a repeat count, which can be given after the operation name and defaults to 1.
eof, weof
Write count EOF marks at current position.
fsf Forward space count files. The tape is positioned on the first block of the next file.
bsf Backward space count files. The tape is positioned on the first block of the next file.
fsr Forward space count records.
bsr Backward space count records.
bsfm Backward space count file marks. The tape is positioned on the beginning-of-the-tape side of the file mark.
fsfm Forward space count file marks. The tape is positioned on the beginning-of-the-tape side of the file mark.
asf Absolute space to file number count. Equivalent to rewind followed by fsf count.
seek Seek to block number count.
eom Space to the end of the recorded media on the tape (for appending files onto tapes).
rewind Rewind the tape.
offline, rewoffl
Rewind the tape and, if applicable, unload the tape.
status Print status information about the tape unit.
retension
Rewind the tape, then wind it to the end of the reel, then rewind it again.
erase Erase the tape.
mt exits with a status of 0 if the operation succeeded, 1 if the operation or device name given was invalid, or 2 if the operation failed.
OPTIONS
-f, --file=device
Use device as the file name of the tape drive to operate on. To use a tape drive on another machine, use a filename that starts
with `HOSTNAME:'. The hostname can be preceded by a username and an `@' to access the remote tape drive as that user, if you have
permission to do so (typically an entry in that user's `~/.rhosts' file).
--rsh-command=command
Notifies mt that it should use command to communicate with remote devices instead of /usr/bin/ssh or /usr/bin/rsh.
-V, --version
Print the version number of mt.
REPORTING BUGS
Report cpio bugs to bug-cpio@gnu.org
GNU cpio home page: <http://www.gnu.org/software/cpio/>
General help using GNU software: <http://www.gnu.org/gethelp/>
Report cpio translation bugs to <http://translationproject.org/team/>
MT(1)