- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mkfs (hfs): Warning - What?!
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
04-09-2002 11:21 AM
04-09-2002 11:21 AM
Putting in everything I did, warning is at the bottom
*****************************************
# lvcreate vg02
Logical volume "/dev/vg02/lvol3" has been successfully created with
character device "/dev/vg02/rlvol3".
Volume Group configuration for /dev/vg02 has been saved in /etc/lvmconf/vg02.con
f
# lvextend -L 1024 /dev/vg02/lvol3 /dev/dsk/c5t1d0
# pvdisplay /dev/dsk/c5t1d0
--- Physical volumes ---
PV Name /dev/dsk/c5t1d0
VG Name /dev/vg02
PV Status available
Allocatable yes
VGDA 2
Cur LV 1
PE Size (Mbytes) 4
Total PE 4340
Free PE 2048
Allocated PE 2292
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
# lvextend -L 1024 /dev/vg02/lvol3 /dev/dsk/c5t1d0
Logical volume "/dev/vg02/lvol3" has been successfully extended.
Volume Group configuration for /dev/vg02 has been saved in /etc/lvmconf/vg02.con
f
# newfs -F hfs -m 1 /dev/vg02/rlvol3
mkfs (hfs): Warning - inode blocks/cyl group (74) >= data blocks (32) in last
mkfs (hfs): cylinder group. This implies 256 sector(s) cannot be allocated.
mkfs (hfs): /dev/vg02/rlvol3 - 1048320 sectors in 1680 cylinders of 16 tracks, 39 sectors
1073.5Mb in 105 cyl groups (16 c/g, 10.22Mb/g, 1600 i/g)
Super block backups (for fsck -b) at:
16, 10040, 20064, 30088, 40112, 50136, 60160, 70184, 80208, 90232,
100256, 110280, 120304, 130328, 140352, 150376, 159760, 169784, 179808, 189832,
199856, 209880, 219904, 229928, 239952, 249976, 260000, 270024, 280048, 290072,
300096, 310120, 319504, 329528, 339552, 349576, 359600, 369624, 379648, 389672,
399696, 409720, 419744, 429768, 439792, 449816, 459840, 469864, 479248, 489272,
499296, 509320, 519344, 529368, 539392, 549416, 559440, 569464, 579488, 589512,
599536, 609560, 619584, 629608, 638992, 649016, 659040, 669064, 679088, 689112,
699136, 709160, 719184, 729208, 739232, 749256, 759280, 769304, 779328, 789352,
798736, 808760, 818784, 828808, 838832, 848856, 858880, 868904, 878928, 888952,
898976, 909000, 919024, 929048, 939072, 949096, 958480, 968504, 978528, 988552,
998576, 1008600, 1018624, 1028648, 1038672
#bdf -l
/dev/vg02/lvol3 1025617 9 1015351 0% /opt/dir
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 11:28 AM
04-09-2002 11:28 AM
Re: mkfs (hfs): Warning - What?!
I see a problem here:
1) If you are going to mirror the LV, then you have to use 'lvextend -m 1' instead of 'newfs -m 1'.
what actually are you doing ?
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 11:31 AM
04-09-2002 11:31 AM
Re: mkfs (hfs): Warning - What?!
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 11:33 AM
04-09-2002 11:33 AM
Re: mkfs (hfs): Warning - What?!
The minimum percentage of free disk space allowed. The default value is 10 percent, we only want 1 percent. Not for mirroring.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 11:34 AM
04-09-2002 11:34 AM
Re: mkfs (hfs): Warning - What?!
# newfs -F hfs -m 1 /dev/vg02/rlvol3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 11:39 AM
04-09-2002 11:39 AM
Re: mkfs (hfs): Warning - What?!
Mirroring is at the LV level not the FS.
I'm just wondering why it didn't kick out an error msg. Undocumented option?
Now the -m on mkfs does display the command line that was used to create an existing FS & I believe that's what you're seeing here - but again the 1 should have kicked an error & it wants the dev not the LV.
Also I thought newfs/mkfs work on the /dev/dsk/cxtydz device & not the LV.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 11:40 AM
04-09-2002 11:40 AM
Re: mkfs (hfs): Warning - What?!
Check the man pages. The -m option in mkfs is used for: - Display the command line that was used to create the file system. The file system must already exist. This option provides a means to determine the parameters used to construct the file system.
I think you have to use option '-o' with 'minfree' value, for the specific output you needed.
# man 1m mkfs_hfs
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 11:46 AM
04-09-2002 11:46 AM
Re: mkfs (hfs): Warning - What?!
-o minfree,1 OR
-o minfree=1
I'm not sure as I don't normally use HFS.
See the following docs on mkfs (hfs):
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90681/B2355-90681_top.html&con=/hpux/onlinedocs/B2355-90681/00/01/191-con.html&toc=/hpux/onlinedocs/B2355-90681/00/01/191-toc.html&searchterms=mkfs&queryid=20020409-124304
I still think it interpreted the -m wrong & that caused the problem.
HTH,
Jef
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 11:51 AM
04-09-2002 11:51 AM
Re: mkfs (hfs): Warning - What?!
do a newfs -F vxfs /dev/vg02/rlvol3 before doing onay lvextend operations , ie incase you want to reintialize liek you are doing it .
- m1 option is used for mirroing and is to be used with lvextend command and not with newfs command.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 11:52 AM
04-09-2002 11:52 AM
Re: mkfs (hfs): Warning - What?!
-m free_space_percent
The minimum percentage of free disk space allowed. The default value is 10 percent. Once the file system capacity reaches this
threshold, only users with appropriate privileges can allocate disk blocks.
I do not, however, know what the warning mean. It appears that the file system was created.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 12:09 PM
04-09-2002 12:09 PM
Re: mkfs (hfs): Warning - What?!
ONLY the newfs_hfs man pages show this NOT the newfs pgs
Looking at the msg I now believe it's just warning that the last cylinder group is small & cannot be fully used - essentially saying that there are 256 sectors less than normally usable. I believe Tom is correct & the FS WAS created.
See this is why I'm a VXFS person ;~)
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 12:23 PM
04-09-2002 12:23 PM
SolutionWe uses hfs and also -m options but like
newfs -F hfs -b 65536 -f 8192 -o largefiles -t 32 -c 32 /dev/vg22/rhp3
then
tunefs -e 624 -m 1 /dev/vg22/rhp1
Now you will have 1% reserve rather then 10%.
Sachin Patel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 06:57 PM
04-09-2002 06:57 PM
Re: mkfs (hfs): Warning - What?!
I understand the answer, but I'm wondering why you would want to create a HFS file system in the first place. The JFS or vxfs filesystem is more more efficient and you don't have to fool around with the min free options.
Cheers
~Michael~
PS: "You can tune a file system, but you can't tune a fish"