- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: File system problem
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
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
тАО02-17-2004 09:49 PM
тАО02-17-2004 09:49 PM
File system problem
Something weird happening in my B2000, I am running this command but there is no output.
mkfs -F hfs -m /dev/vg00/lvol1
Any idea what is the problem? BTW it is hp-ux 11.00
Regards
Joseph
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 09:52 PM
тАО02-17-2004 09:52 PM
Re: File system problem
#vgdisplay -v vg00
and check whether vg01 is already used.
check /var/adm/syslog/syslog.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 09:57 PM
тАО02-17-2004 09:57 PM
Re: File system problem
are you awake :-) think it is /stand
Is your system still running ? if it is do NOT reboot.
Could you check if your still have a kernel in /stand.
# ls -la /stand
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 09:58 PM
тАО02-17-2004 09:58 PM
Re: File system problem
newfs -F hfs /dev/vg00/rlvol1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 09:58 PM
тАО02-17-2004 09:58 PM
Re: File system problem
There is no other vg on that machine other than vg00, and vgdisplay output seems to be fine.
Regards
Joseph
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 10:00 PM
тАО02-17-2004 10:00 PM
Re: File system problem
by default lvol1 in vg00 is taken by the /stand file system.
why are you doing a newfs on that
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 10:02 PM
тАО02-17-2004 10:02 PM
Re: File system problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 10:07 PM
тАО02-17-2004 10:07 PM
Re: File system problem
I try this command to my other server this is the sample output.
mkfs -F hfs -L /dev/vg00/lvol1 516096 28 12 65536 8192 16 10 60 10366
I am wondering why is there no output on b2000 (hp-ux 11.00).
Regards
Joseph
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 10:10 PM
тАО02-17-2004 10:10 PM
Re: File system problem
/stand is still intact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 10:18 PM
тАО02-17-2004 10:18 PM
Re: File system problem
-m Display the command line that was used to create
the file system. The file system must already
exist. This option provides a means of
determining the parameters used to construct the
file system.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 10:20 PM
тАО02-17-2004 10:20 PM
Re: File system problem
as SEP said, why don't you use newfs?
It is better than mkfs, less options, less customizations, less problems:
newfs -F hfs /dev/vg00/rlvol1
Try this command, does it work?
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 10:24 PM
тАО02-17-2004 10:24 PM
Re: File system problem
I am not trying to format lvol1, what I am trying to do is get some parameter.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 10:55 PM
тАО02-17-2004 10:55 PM
Re: File system problem
Well, then use
# fsadm -F hfs /dev/vg00/rlvol1
# fstyp -v /dev/vg00/lvol1
Otherwise what is the parameter you are looking for?
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 11:05 PM
тАО02-17-2004 11:05 PM
Re: File system problem
What really happened is my ignite backup is failing, then I send the make.rec1 log to hp engineer. They said ignite backup is calling this command
"mkfs -F hfs -m /dev/vg00/lvol1" (maybe the output is used in automatic recovery script of ignite)which in my b2000 has no output that cause ignite to fail.
regards
Joseph
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2004 11:24 PM
тАО02-17-2004 11:24 PM
Re: File system problem
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2004 12:18 AM
тАО02-18-2004 12:18 AM
Re: File system problem
Does mksf work on other filesystems?
Launch it on another filesystem (of course on the same system):
- if mkfs obtains an output then problem is about filesystem; also try other commands (e.g. fstyp or fsadm as I said in my last post);
- if mkfs doesn't obtain an output on other filesystems too then check mkfs size;
# ll /usr/sbin/mkfs
I had a similar problem where a command (I don't remember what it was) was obtaining no output, problem was that it had size 0!
Well, just a thought.... check size of your mkfs. On a my HP-UX 11.00 system I obtain
# ll /usr/sbin/mkfs
lrwxr-xr-x 1 root root 16 Mar 5 2003 /usr/sbin/mkfs -> /sbin/fs_wrapper
What about yours?
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2004 12:34 AM
тАО02-18-2004 12:34 AM
Re: File system problem
My answer,
Does mksf work on other filesystems?
--yes, i tried it on /tmp
- if mkfs obtains an output then problem is about filesystem; also try other commands (e.g. fstyp or fsadm as I said in my last post);
-- I tried the fstyp and fsadm on /dev/vg00/lvol1 its ok.
Robert,
Not yet. How can i do it? Does hp-ux mount the /stand on maintenance mode?
Regards
Joseph
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2004 01:17 AM
тАО02-18-2004 01:17 AM
Re: File system problem
# ll /usr/sbin/mkfs
# ll /sbin/fs_wrapper
mkfs is linked to fs_wrapper. Check if fs_wrapper or mkfs have size 0. I don't think that it is the problem because mkfs on /tmp filesystem works. I just ask you that for more informations on problems.
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2004 01:24 AM
тАО02-18-2004 01:24 AM
Re: File system problem
umount /stand
fsck -F hfs /dev/vg00/rlvol1
mount /stand
There may be some filesystem corruption causing the hang.
Bill Hassell, sysadmin