- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Unable to see "-b" option in newfs command in ...
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
тАО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
- 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
- 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
- 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
- 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
- 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
- Report Inappropriate Content
тАО12-08-2010 03:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Report Inappropriate Content
тАО12-08-2010 04:14 AM
тАО12-08-2010 04:14 AM