- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Creating a new FS hangs
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
Forums
Discussions
Discussions
Discussions
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
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
09-19-2005 07:12 PM
09-19-2005 07:12 PM
Creating a new FS hangs
I am trying to create a new FS in HP-UX 11.11 using mkfs.
# mkfs -F vxfs /dev/rdsk/c9t0d0
version 4 layout
46080 sectors, 46080 blocks of size 1024, log size 1024 blocks
unlimited inodes, largefiles not supported
46080 data blocks, 44976 free data blocks
2 allocation units of 32768 blocks, 32768 data blocks
last allocation unit has 13312 data blocks
and it hangs here... /dev/rdsk/c9t0d0 is a symmetrix disk.
# /usr/symcli/bin/syminq
Device Product Device
----------------------- --------------------------- ---------------------
Name Type Vendor ID Rev Ser Num Cap (KB)
----------------------- --------------------------- ---------------------
/dev/rdsk/c0t0d0 TEAC DV-28E-B 2.2B N/A N/A
/dev/rdsk/c2t0d0 HP 36.4G ST336754LC HPC2 3KQ05BRZ 35566480
/dev/rdsk/c2t1d0 HP 36.4G ST336753LC HPC7 3HX27FE5 35566480
/dev/rdsk/c9t0d0 EMC SYMMETRIX 5670 2000000000 46080
Any ideas will helpful.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2005 07:13 PM
09-19-2005 07:13 PM
Re: Creating a new FS hangs
pvcreate -f /dev/rdsk/c9t0d9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2005 07:22 PM
09-19-2005 07:22 PM
Re: Creating a new FS hangs
Also what does diskinfo say??
Is disk good?? Run dd on it.
dd if=/dev/rdsk/cxtxdx of=/dev/null bs=1024k
Also run mkfs with -V option and post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2005 07:26 PM
09-19-2005 07:26 PM
Re: Creating a new FS hangs
I tried pvcreate, diskinfo, mkfs -v /dev/rdsk/c9t0d0, and no output. I couldn't even kill the processes.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2005 07:29 PM
09-19-2005 07:29 PM
Re: Creating a new FS hangs
If yes, insf -ev -Cdisk.
Looks like old mkfs command is hung, waiting on i/o. You can not kill it then.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2005 07:35 PM
09-19-2005 07:35 PM
Re: Creating a new FS hangs
pvcreate /dev/rdsk/c9t0d0
Create dev file:
mkdir /dev/
Create volume group:
vgcreate -s 8 -e
lvcreate -L
Create file system:
newfs -F vxfs -o largefiles /dev/
Create mount point:
mkdir /
Mount:
mount /dev/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2005 07:42 PM
09-19-2005 07:42 PM
Re: Creating a new FS hangs
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-B
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 36.4GST336754LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
disk 209 0/3/1/1.33.18.19.0.0.0 sdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/dsk/c9t0d0 /dev/dsk/disk_query /dev/rdsk/c9t0d0 /dev/rdsk/disk_query
---------------------------------------------
# insf -ev -C disk
insf: Unable to load the driver: drmfglinsf: Unable to load the driver: drmfglrxinsf: Unable to load the driver: gvid_him_consinsf: Installing special files for sdisk instance 0 address 0/0/2/0.0.0.0
insf: Installing special files for sdisk instance 1 address 0/1/1/0.0.0
insf: Installing special files for sdisk instance 2 address 0/1/1/0.1.0
insf: Installing special files for sdisk instance 209 address 0/3/1/1.33.18.19.0.0.0
insf: Unable to unload the driver: drmfglinsf: Unable to unload the driver: drmfglrxinsf: Unable to unload the driver: gvid_him_cons
-----------------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2005 07:47 PM
09-19-2005 07:47 PM
Re: Creating a new FS hangs
Following steps may help:
1. #pvcreate /dev/rdsk/c9t0d0
2. #insf -e
2. mkfs -F vxfs /dev/rdsk/c9t0d0
If system hangs during mkfs, there is possibility that disk is defective. Run "dd"command to verify the disk or if online diagnostics are installed, run disk diagnostic for thorough verification of media
Regards
Mahesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2005 07:49 PM
09-19-2005 07:49 PM
Re: Creating a new FS hangs
45+0 records in
45+0 records out
============================================
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2005 05:16 PM
09-20-2005 05:16 PM
Re: Creating a new FS hangs
This looks like a peculiar problem for me. I would advice you to try this, but to be frank enough, Im not sure, if it would work:
Reboot the system and bring it up in single user mode. (This would get rid of any previous mkfs / ioscan hung commands )
If required, mount the filesystems in vg00 manually.
pvcreate -F /dev/rdsk/c9t0d0 (This is a destructive command. Be sure of the disk path)
Look for any errors.
Your disk size is 47 GB.
Create a new vg. The commands are already in the above responses, but still...
mkdir /dev/vg09
mknod /dev/vg09/group c 64 0x090000
vgcreate /dev/vg09 /dev/dsk/c9t0d0
vgchange -a y vg09
If this was succesful, then we'll create a smaller lv...
lvcreate -L 1024 /dev/vg09
Lets try an HFS file system...
mkfs -F hfs /dev/vg09/lvol1
Keep your fingers crossed, to see if this completes succesfully. If it did, mount it to any folder, and look for errors while mounting. If it did'nt, call up the EMC guy and ask him to work with you to resolve this issue.
If it did complete, unmount it and create a vxfs file system...
mkfs -F vxfs /dev/vg09/lvol1
If succesful, you have reasons to be happy. If not, ??? Well, I think It would.
Mount this on to some folder and check.
Extend the lv size to say 40 GB
lvextend -L 40960 /dev/vg09/lvol1
fsadm -b 40960M
If you came thus far, you could still go near the 47 GB mark and see where it stops working. I would contact EMC to find out why I cant use the whole 47 GB in one shot...
Cheers!
Anoop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2005 10:36 PM
09-20-2005 10:36 PM
Re: Creating a new FS hangs
It is not always required to create a PV,VG,LV on a disk to access it, allthough it is recommended. If intentionally you need to create a file system on disk without LVM, it should not take much time and should be completed. This is some issue with your EMC array and I remember a recent thread which invloved some EMC problem which was rectified later and sorted out similar problem.
Also ensure latest patches.
Anoop - We are not sure wheather onlineJFS is installed to extend file system online.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2005 11:00 PM
09-20-2005 11:00 PM
Re: Creating a new FS hangs
I noticed /dev/dsk/disk_query into ioscan output. I should think that it is not so normal.
I usually saw it sometimes when creating a VG by SAM.
Did you extend this disk into this VG by SAM?
Anyway I would suggest:
- remove those special files:
rmsf /dev/dsk/disk_query
rmsf /dev/rdsk/disk_query
- vgreduce the VG about that disk:
vgreduce /dev/vgXX /dev/dsk/c9t0d0
- pvcreate again:
pvcreate -f /dev/rdsk/c9t0d0
- vgextend again:
vgextend /dev/vgXX /dev/dsk/c9t0d0
- and I usually prefer to use newfs even if it recalls mkfs:
newfs -F vxfs /dev/rdsk/c9t0d0
Let us know if it helps.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2005 11:02 PM
09-20-2005 11:02 PM
Re: Creating a new FS hangs
"I am trying to create a new FS in HP-UX 11.11 using mkfs. "
Online JFS is a part of HPUX 11.11 by default. Hence I'm sure that we could extend it online, unless there is a media issue.
Regards,
Anoop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2005 11:10 PM
09-20-2005 11:10 PM
Re: Creating a new FS hangs
Online JFS is not part of standard OS bundle in any release? It is a seperate licensed product.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 12:51 AM
09-21-2005 12:51 AM
Re: Creating a new FS hangs
Bill Hassell, sysadmin