- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP-UX 11.31 labelit
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
Discussions
Discussions
Forums
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
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
тАО01-18-2010 01:50 PM
тАО01-18-2010 01:50 PM
Here is what we have done in the past and the results:
# uname -a
HP-UX ubkup B.11.11 U 9000/800 3019283341 unlimited-user license
# labelit /dev/rmt/0mn COLD ozw001 -n
labelit: /etc/default/fs is used for determining the file system type
Skipping label check!
NEW fsname = COLD, NEW volname = ozw001 -- DEL if wrong!!
#
Now we get the following when performing the same command on HP-UX 11.31:
# uname -a
HP-UX dmsdbs01 B.11.31 U ia64 3952680404 unlimited-user license
# labelit /dev/rmt/0mn COLD ozw001 -n
labelit: /etc/default/fs is used for determining the file system type
labelit: /dev/rmt/0mn is of unknown filesystem type
labelit: use "-F FStype" option
usage: labelit [-F FStype] [-V] [-o specific_options] special [fsname volume]
#
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2010 04:02 PM
тАО01-18-2010 04:02 PM
Re: HP-UX 11.31 labelit
Please provide the contents of /etc/default/fs on both systems. (There were lots of changes in 11.31.)
As the message said, you probably can add "-F FStype" to make labelit happy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2010 11:21 PM
тАО01-18-2010 11:21 PM
Re: HP-UX 11.31 labelit
Dennis is right. Not mush use for
this command on HP-UX 11.31.
The labelit(1M) command can be used to
provide initial labels for unmounted disk or
tape file systems. With the optional
arguments omitted, the labelit command
prints current label values. It is closely
related to volcopy(1M) command.
The "-n" option provides for initial labelling of new tapes only (this destroys
previous contents). The -F, -V, and -o
options can be specified for the labelit
command. The behavior of the -F, -V, and -o
options is similar to their behavior in the
volcopy command.
The labelit (1M) command is considered
obsolete starting one version of HP-UX 11.23
(I forgot which one).
Like fbackup and frecover, please consider
not using them. They are still available on
HP-UX 11.31 but only for backward compatibility.
However, if you really want to use labelit,
simply use the correct command arguments "-F...". I did not use it myself on HP-UX
11.31 but it hopefully still works.
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2010 08:19 AM
тАО01-19-2010 08:19 AM
Re: HP-UX 11.31 labelit
HP-UX ubkup B.11.11 U 9000/800 3019283341 unlimited-user license
# cat /etc/default/fs
LOCAL=vxfs
#
# uname -a
HP-UX dmsdbs01 B.11.31 U ia64 3952680404 unlimited-user license
# cat /etc/default/fs
LOCAL=vxfs
#
I have tried placing "-F FStype", "-F vxfs", "-F VXFS", "-F LOCAL". They all resulted in the same messages on 11.31.
# labelit -F vxfs /dev/rmt/0mn COLD ozw001 -n
labelit: invalid argument to "-F FStype" option
labelit: vxfs is not a valid file system type
usage: labelit [-F FStype] [-V] [-o specific_options] special [fsname volume]
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2010 03:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2010 01:15 PM
тАО01-21-2010 01:15 PM
Re: HP-UX 11.31 labelit
# uname -a
HP-UX dmsdbs01 B.11.31 U ia64 3952680404 unlimited-user license
# labelit -F hfs /dev/rmt/0mn COLD ozw001 -n
Skipping label check!
NEW fsname = COLD, NEW volname = ozw001 -- DEL if wrong!!
#
Thanks for the assistance.