- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- VMS backup to NFS directory on UNIX
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2005 12:02 PM
03-29-2005 12:02 PM
VMS backup to NFS directory on UNIX
The NFS server is Unix.
First problem I am encountering: I want to do an image backup, but the output device must be mounted foreign, and I don't see a way to NFS mount foreign.
- John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2005 12:08 PM
03-29-2005 12:08 PM
Re: VMS backup to NFS directory on UNIX
I "thought" I wanted to do an image backup, but now I'm not sure.
What I'm trying to accomplish is to do a full disk backup to the NFS directory, so that I can then (later) restore the whole thing to a new disk, pop that disk into a new system, and have it work just like the original disk.
- John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2005 12:15 PM
03-29-2005 12:15 PM
Re: VMS backup to NFS directory on UNIX
Sorry for cluttering up the forum with answers to my own dumb questions. I'd been working on this all afternoon without success, then as soon as I put my question in the forum I discovered the answer.
I got the image backup going without mounting /foreign by doing:
$backup/image... input-spec output-spec/save
Still hoping for other advice if you have any.
- John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2005 06:43 PM
03-29-2005 06:43 PM
Re: VMS backup to NFS directory on UNIX
nice to meet you in vms and I hope you like vms.
I believe you want to do backup/image onto nfs device to see all files. I'm just curious if this works fine.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2005 07:09 PM
03-29-2005 07:09 PM
Re: VMS backup to NFS directory on UNIX
$ BACKUP/IMAGE Dxxx: NFSDSK:[dir]saveset.BCK/SAVE
Its the same as writing a saveset to a disk.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2005 07:25 PM
03-29-2005 07:25 PM
Re: VMS backup to NFS directory on UNIX
sorry, I sadly expressed my question. I believe John want to mirror vms files on unix system but backup/image make a saveset on NFS device; saveset is not understability by unix users.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 01:33 AM
03-30-2005 01:33 AM
Re: VMS backup to NFS directory on UNIX
$ BACKUP dev1:[foo...] dev2:[*...]/OWN=ORIG
creates the foo directory tree on dev2
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 12:30 PM
03-30-2005 12:30 PM
Re: VMS backup to NFS directory on UNIX
$backup/image... input-spec output-spec/save
is working at least partly. It doesn't complain. The saveset file is created. From the same system that created the saveset, I can then list the contents of the saveset with:
$backup/list ....
But when I mount the NFS directory on another similar VMS system, in a similar way, and try to list the contents of the saveset, backup says it's not a saveset.
From the system that created the saveset, a dir/full on the file shows it as fixed lenght 32256 byte records record format. From the system that doesn't recognize it as a saveset, a dir/full shows the file as record format stream_LF.
The mount options, and everything else I've checked, seem to be identical on the two systems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 05:09 PM
03-30-2005 05:09 PM
Re: VMS backup to NFS directory on UNIX
This is a problem with file attributes. VMS has more file types and record formats than any UNIX. NFS stores file attributes in ADF files. Check if backup has created an ADF file.
For more information see:
http://h71000.www7.hp.com/doc/732final/6526/6526pro_047.html#adfs_sec
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 06:34 PM
03-30-2005 06:34 PM
Re: VMS backup to NFS directory on UNIX
you can see any difference with command
$ UCX SH MOUNT device /FULL
on both systems.
I guess there is some difference in command $ UCX MOUNT device /[NO]CONVERT
or else
$ UCX MOUNT device /SERVER=unix
However SHOW MOUNT can help you.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 11:22 PM
03-30-2005 11:22 PM
Re: VMS backup to NFS directory on UNIX
Never tried, and can not now, but...
from your VMS system that has the NFS drive mounted, do a
$ SET FILE
and try again.
Although the file can do nothing with it, I guess that this way you may be able to tell RMS how to treat the file.
No guarantee, but worth a try.
Tell us the outcome!
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 02:22 AM
03-31-2005 02:22 AM
Re: VMS backup to NFS directory on UNIX
The secret is that you have to add "/ADF=CREATE" to the UCX MOUNT command.
This causes VMS to create the file, but also:
- Creates a "hidden" (starts with ".$ADF$") file on the NFS server which holds the file characteristics
- Create a hard link from "XYZ.ABC;x" (where "x" is a version number) to "XYZ.ABC", so you can get the latest version while preserving previous versions.
This works great -- versions and characteristics are prefectly preserved.
As for your image backup, the other posters are correct -- you must back up to a saveset, which is a single file on the file server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2005 10:15 AM
04-01-2005 10:15 AM
Re: VMS backup to NFS directory on UNIX
Bojan, - thanks for the documentation link. I hadn't gotten around to searching for it, and now I don't have to. Looks good!
Jan! Changing the file attributes from the system where it looked wrong worked. After setting the attributes, the file appeared to ba a vaild saveset, and I could list it. I'm hoping to find a way to not have to keep doing that all the time, but this at least allows it to work for now. Interesting.
Bojan and Stanley. I was already somewhat onto the ADF business but hadn't got it actually working the way I want, and still don't. As mentioned before, the system that creates the saveset sees the file with the proper attributes as a saveset, but the other system ( same mount options, etc, ADF included) doesn't see it as proper saveset file /record type. ( unless I follow Jan's set file.../attr... recommendation, and I don't want to have to do that every time...)
After I get back from vacation I will play with this some more.
Thanks again.
- John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2005 02:08 AM
05-10-2005 02:08 AM
Re: VMS backup to NFS directory on UNIX
We are attempting to do the same thing; however, I do not know how to setup NFS client on an OpenVMS system. Can you provide the steps needed to configure an NFS client on VMS?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2005 02:27 AM
05-10-2005 02:27 AM
Re: VMS backup to NFS directory on UNIX
Check the ucx mount command.
E.g. ucx mount dnfs0: label logical /path="/backup"/host="unixname"
After that you can use logical to access the nfs share.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2005 03:19 AM
05-10-2005 03:19 AM
Re: VMS backup to NFS directory on UNIX
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2005 03:33 AM
05-10-2005 03:33 AM
Re: VMS backup to NFS directory on UNIX
Still working on this. Getting some results while typing in the commands from the command line. Nothing automated or procedurized yet. I am able to do the backups and restore from them, but if restoring to a system that was not the original system that did the backup, I still have to fiddle with the file attributes before doing the restore.
Joe, we're using somewhat old-ish versions of VMS, UCX. VMS 6.2, UCX 4.2. First enable NFS client. I use the ucx$config procedure; I understand that procedure has a new name in later versions. Then mount the NFS filesystem; I'm currently using
UCX> mount dnfs1: /host=nfshost.domain.com /path="/nfsdir"/adf=create
I also have an NFS proxy on the VMS client, to map the VMS backup account to a Unix UID, GID. Like this:
UCX> add proxy backup/uid=90/gid=90/host=nfshost.domain.com
And of course on the (Unix) NFS server side, export the directory, create account wih uid and gid as above, set ownership and protection on NFS directories.
- John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2005 03:42 AM
05-10-2005 03:42 AM
Re: VMS backup to NFS directory on UNIX
Thanks again everyone.
- John