- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- LVM and VxVM
- >
- Unable to see "-b" option in newfs command in HP-U...
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
12-08-2010 03:07 AM
12-08-2010 03:07 AM
I am trying to create SAN volumes on my HP-ux 11.23 box. I need to create a filesystem with 8KB blocksize. But I am having trouble with my "newfs" command. I am using the following command:
# newfs -F vxfs -b 8192 /dev/rdsk/c3t0d1
# UX:vxfs mkfs: ERROR: V-3-21208: /dev/rdsk/c3t0d1 is a logical volume device, cannot mkfs
# newfs: -b is unknown operand
# usage: newfs [-F FStype] [-V] [-o specific_options] special
I am unable to find the "-b" operand in the man page for command newfs as well. Please let me know what the issue is.
Which gives
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-08-2010 03:13 AM
12-08-2010 03:13 AM
Re: Unable to see "-b" option in newfs command in HP-UX 11.23
-b option is with fsadm.
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-08-2010 03:16 AM
12-08-2010 03:16 AM
Re: Unable to see "-b" option in newfs command in HP-UX 11.23
newfs -F vxfs -o bsize=8192
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-08-2010 03:17 AM
12-08-2010 03:17 AM
Re: Unable to see "-b" option in newfs command in HP-UX 11.23
Thanks for the prompt response.
I am unable to find the "-b" option in fsadm command as well.
# usage: fsadm [-F FStype] [-V] [-o specific_options] special
The man page for fsadm command also doesn't show any "-b" option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-08-2010 03:20 AM
12-08-2010 03:20 AM
Re: Unable to see "-b" option in newfs command in HP-UX 11.23
Did you read my second post? There is no -b option with newfs command. You need to specify block size with -o.
Read my second post.
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-08-2010 03:34 AM
12-08-2010 03:34 AM
Re: Unable to see "-b" option in newfs command in HP-UX 11.23
# newfs -F vxfs -o bsize=8192 /dev/rdsk/c3t0d1
UX:vxfs newfs: ERROR: V-3-21619: Illegal suboption -- bsize=8192
UX:vxfs newfs: INFO: V-3-21635: usage: newfs [-F vxfs] [-V] [-v] [-R swap] [-B] [-O disk_type] [mkfs-options] special
where mkfs-options are:
-s file system size (sectors)
-b block size
-o largefiles|nolargefiles
With the following command I get the error:
# newfs -F vxfs -b 8192 /dev/rdsk/c3t0d1
UX:vxfs mkfs: ERROR: V-3-21208: /dev/rdsk/c3t0d1 is a logical volume device, cannot mkfs
The steps I followed are:
1) # pvcreate /dev/rdsk/c3t0d1
2) # vgcreate -s 16 VGDATA /dev/dsk/c3t0d1
3) # lvcreate -l 31995 -n lvdata VGDATA
4) # newfs -F vxfs -b 8192 /dev/rdsk/c3t0d1
UX:vxfs mkfs: ERROR: V-3-21208: /dev/rdsk/c3t0d1 is a logical volume device, cannot mkfs
The 4th command gives the error. Please let me know if I am making some mistake in the procedure. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-08-2010 03:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-08-2010 04:00 AM
12-08-2010 04:00 AM
Re: Unable to see "-b" option in newfs command in HP-UX 11.23
newfs and fsadm man pages describe what is common to all fs types (hfs, vxfs, nfs...).
For informations specific to a fs type, take a look to
For example, with newfs for vxfs:
$ man newfs_vxfs
You'll find '-b' option description.
Regards,
Mounaam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-08-2010 04:14 AM
12-08-2010 04:14 AM
Re: Unable to see "-b" option in newfs command in HP-UX 11.23
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP