- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- newfs error....
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
тАО04-12-2009 12:07 PM
тАО04-12-2009 12:07 PM
newfs error....
I have been trying to create an fs on an ia server runs on 11.23. Till lvcrateion it looks good, bit after it gives an error as follows..
[root@sap1dbc1]/root>vgcreate -s 16 -p 100 vg_localP10 /dev/dsk/c10t1d1
Increased the number of physical extents per physical volume to 2224.
Volume group "/dev/vg_localP10" has been successfully created.
Volume Group configuration for /dev/vg_localP10 has been saved in /etc/lvmconf/vg_localP10.conf
[root@sap1dbc1]/root>lvcreate -L 6144 -n P10sap vg_localP10
Logical volume "/dev/vg_localP10/P10sap" has been successfully created with
character device "/dev/vg_localP10/rP10sap".
Logical volume "/dev/vg_localP10/P10sap" has been successfully extended.
Volume Group configuration for /dev/vg_localP10 has been saved in /etc/lvmconf/vg_localP10.conf
[root@sap1dbc1]/root>>newfs -F vxfs /dev/vg_localP10/rP10sap
sh: -F: not found.
[root@sap1dbc1]/root>mkfs -F vxfs /dev/vg_localP10/rP10sap
UX:vxfs mkfs: ERROR: V-3-20003: Cannot open /dev/vg_localP10/rP10sap: No such device or address
UX:vxfs mkfs: ERROR: V-3-20275: cannot open /dev/vg_localP10/rP10sap
Could anyone please help me on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2009 12:45 PM
тАО04-12-2009 12:45 PM
Re: newfs error....
try
# /usr/sbin/newfs -F vxfs /dev/vg_localP10/rP10sap
# ll /dev/vg_localP10
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2009 02:29 PM
тАО04-12-2009 02:29 PM
Re: newfs error....
UX:vxfs newfs: ERROR: V-3-20113: Cannot open /dev/vg_localP10/rP10sap: No such device or address
/root>ll /dev/vg_localP10
total 0
brw-r----- 1 root sys 64 0x020001 Apr 12 13:02 P10sap
crw-r--r-- 1 root sys 64 0x020000 Apr 12 13:00 group
crw-r----- 1 root sys 64 0x020001 Apr 12 13:02 rP10sap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2009 03:48 PM
тАО04-12-2009 03:48 PM
Re: newfs error....
> sh: -F: not found.
The first line is a big mistake. There is a ">" in front of newfs. What that did was to create a file called "newfs" in your current directory (/root). That's why -F was syntaxed as making no sense. If you have . (current working directory) in your path, subsequent newfs commands may try to run this null file. Especially for root, make sure that your $PATH value does not have two colons in a row (::), colon dot (:.) or a trailing colon at the end of $PATH.
You can tell where newfs is located (for your current shell) by using this command:
type newfs
When unexpected results appear with a command, always use a fullpath as mentioned before:
/usr/sbin/newfs -F vxfs /dev/vg_localP10/rP10sap
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2009 04:27 PM
тАО04-12-2009 04:27 PM
Re: newfs error....
UX:vxfs newfs: ERROR: V-3-20113: Cannot open /dev/vg_localP10/rP10sap: No such device or address
[root@sap1dbc1]/root>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2009 09:22 AM
тАО04-13-2009 09:22 AM
Re: newfs error....
The error message looks like it is coming from the clustered filesystem code. Are you running Service Guard? If so, check out this link:
http://forums11.itrc.hp.com/service/forums/questionanswer.do
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2009 01:41 AM
тАО04-15-2009 01:41 AM
Re: newfs error....
Are you using Clusterd File system / Service Guard?
Check out these threads:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1115494
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=959660
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2009 05:03 AM
тАО04-15-2009 05:03 AM
Re: newfs error....
"no such device or address" sounds to me that volume group vg_localP10 is not activated, even if I expect vgcreate should have activated it automatically.
Try vgdisplay vg_localP10 to check, if it's not so then active the vg and retry newfs command.
Best regards,
Fabio