- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- fsck error: "file system is larger than device"
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
11-09-2006 07:27 PM
11-09-2006 07:27 PM
file system is larger than device
vxfs fsck: cannot initialize aggregate
file system check failure, aborting ...
How Can we solve this problem?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 07:33 PM
11-09-2006 07:33 PM
Re: fsck error: "file system is larger than device"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 07:35 PM
11-09-2006 07:35 PM
Re: fsck error: "file system is larger than device"
vgdisplay -v vg##
fsck command was executed during the system startup or you run it manually?
Yang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 07:54 PM
11-09-2006 07:54 PM
Re: fsck error: "file system is larger than device"
I attach some information about it:
lvdisplay /dev/vgHITACHI_P6/lvHIP16
--- Logical volumes ---
LV Name /dev/vgHITACHI_P6/lvHIP16
VG Name /dev/vgHITACHI_P6
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule striped
LV Size (Mbytes) 31984
Current LE 7996
Allocated PE 7996
Stripes 4
Stripe Size (Kbytes) 128
Bad block on
Allocation strict
IO Timeout (Seconds) default
fstyp -v /dev/vgHITACHI_P6/lvHIP16
vxfs
version: 4
f_bsize: 8192
f_frsize: 4096
f_blocks: 8192000
f_bfree: 8190952
f_bavail: 8062969
f_files: 2047760
f_ffree: 2047728
f_favail: 2047728
f_fsid: 1074266113
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 16
f_fsindex: 7
f_size: 8192000
vgdisplay /dev/vgHITACHI_P6
--- Volume groups ---
VG Name /dev/vgHITACHI_P6
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 3
Open LV 3
Max PV 16
Cur PV 4
Act PV 4
Max PE per PV 5999
VGDA 8
PE Size (Mbytes) 4
Total PE 23996
Alloc PE 23988
Free PE 8
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 07:57 PM
11-09-2006 07:57 PM
Re: fsck error: "file system is larger than device"
1.Check dmesg , Syslog , /var/opt/resmon/log/event.log and teh cstm o/p for any hardware issues. also check whether all teh disks are claimed.
2. run bdf and check whether all the filsystems are showing it's actual size.
3. run lvdisplay and check whether the size of that lv and the filesystem size are same, i 've noted in some rare cases this is not the case.
If that is all fine , try the fsck command with an alternate superblock copy which will be available in /etc/sbtab
Thanks,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 08:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 08:06 PM
11-09-2006 08:06 PM
Re: fsck error: "file system is larger than device"
Is that correct ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 08:11 PM
11-09-2006 08:11 PM
Re: fsck error: "file system is larger than device"
If that is the case then yo have the follwoing options,
1. Reduce the filesystem size using online jfs
Or
2. Increase the LV size
or
3. Recreate the filesystem and restore using backup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 08:17 PM
11-09-2006 08:17 PM
Re: fsck error: "file system is larger than device"
I run it manually.
vgdisplay -v vgHITACHI_P6
--- Volume groups ---
VG Name /dev/vgHITACHI_P6
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 3
Open LV 3
Max PV 16
Cur PV 4
Act PV 4
Max PE per PV 5999
VGDA 8
PE Size (Mbytes) 4
Total PE 23996
Alloc PE 23988
Free PE 8
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vgHITACHI_P6/lvHIP16
LV Status available/syncd
LV Size (Mbytes) 31984
Current LE 7996
Allocated PE 7996
Used PV 4
LV Name /dev/vgHITACHI_P6/lvHIP17
LV Status available/syncd
LV Size (Mbytes) 31984
Current LE 7996
Allocated PE 7996
Used PV 4
LV Name /dev/vgHITACHI_P6/lvHIP18
LV Status available/syncd
LV Size (Mbytes) 31984
Current LE 7996
Allocated PE 7996
Used PV 4
--- Physical volumes ---
PV Name /dev/dsk/ch22t2d1
PV Status available
Total PE 5999
Free PE 2
Autoswitch On
PV Name /dev/dsk/ch22t2d3
PV Status available
Total PE 5999
Free PE 2
Autoswitch On
PV Name /dev/dsk/ch22t2d5
PV Status available
Total PE 5999
Free PE 2
Autoswitch On
PV Name /dev/dsk/ch22t2d7
PV Status available
Total PE 5999
Free PE 2
Autoswitch On
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 08:24 PM
11-09-2006 08:24 PM
Re: fsck error: "file system is larger than device"
Please let us know by doing what you received this error, (extend the file system?) it will help us to understand the problem.
Yang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 08:25 PM
11-09-2006 08:25 PM
Re: fsck error: "file system is larger than device"
I can't check lvsize with bdf because I can't mount this lv.
This filesystem is new, it's empty. There was no information in it.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 08:28 PM
11-09-2006 08:28 PM
Re: fsck error: "file system is larger than device"
You're right:
bdf /dev/vgHITACHI_P6/lvHIP16
Filesystem kbytes used avail %used Mounted on
/dev/vgHITACHI_P6/lvHIP16
32768000 4192 32251876 0%
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 08:31 PM
11-09-2006 08:31 PM
Re: fsck error: "file system is larger than device"
From the fstype o/p i 've calculated your filesystem size
It can be calculated as ((f_bsize*f_size)/1024/1024)
For your case it is ((8192*81920000)/1024/1024) =64000MB
But the vgdisplay -v command reports that your lvsize is 319XX MB ,
So definitely there is a mismatch in your filsystem size and the corresponding lv size.
Try to reduce your filesystem size to 32 GB or increas ethe size of your LV to 64GB
Thanks,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 08:33 PM
11-09-2006 08:33 PM
Re: fsck error: "file system is larger than device"
Did you run "newfs -F vxfs /dev/vgHITACHI_P6/rlvHIP16"? after you create lvol with lvcreate?
Yang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 08:42 PM
11-09-2006 08:42 PM
Re: fsck error: "file system is larger than device"
I'm not completely right .
Your bdf o/p shows the filsystem size as 32000 MB and the VG display shows your LVsize as 31984MB.
That means you have created a filesystem which is larger than your Logical Volume.
If you say the filesystem is empty why cant you try to recreate the filesystem from the scratch which will be equal to your Logical volume.
Thanks,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 08:43 PM
11-09-2006 08:43 PM
Re: fsck error: "file system is larger than device"
It's not possible to increase lv size to 64 GB.
I will investigate how to reduce file system size to 31984 MB.
Thanks a lot.
I will close this post if I will finish correcly the operation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 09:02 PM
11-09-2006 09:02 PM
Re: fsck error: "file system is larger than device"
# newfs -F vxfs /dev/vgHITACHI_P6/rlvHIP16
version 4 layout
32751616 sectors, 8187904 blocks of size 4096, log size 512 blocks
unlimited inodes, largefiles not supported
8187904 data blocks, 8186800 free data blocks
250 allocation units of 32768 blocks, 32768 data blocks
last allocation unit has 28672 data blocks
And then I tried to fsck lvHIP16:
fsck /dev/vgHITACHI_P6/rlvHIP16
fsck: /etc/default/fs is used for determining the file system type
file system is clean - log replay is not required
fsck is ok!!!
But now I get:"vxfs mount: mount option(s) incompatible with file system /dev/vgHITACHI_P6/lvHIP16"
When trying to mount it: "/usr/sbin/mount -F vxfs -o rw,suid,delaylog,largefiles,datainlog /dev/vgHITACHI_P6/lvHIP16 /p16"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 09:08 PM
11-09-2006 09:08 PM
Re: fsck error: "file system is larger than device"
I have ran newfs command without "-o largefiles" parameter.
How Can I change it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 09:09 PM
11-09-2006 09:09 PM
Re: fsck error: "file system is larger than device"
I have ran newfs command without "-o largefiles" parameter.
Anybody knows how can I change it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 09:10 PM
11-09-2006 09:10 PM
Re: fsck error: "file system is larger than device"
If i'm not wrong i see the filesystem was created with no large file support but you are trying to mount the filesystem with large file support .
Try mounting it without the large files option.
Thanks,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 09:12 PM
11-09-2006 09:12 PM
Re: fsck error: "file system is larger than device"
i think you can try the newfs comand again with -o option specified and then try to mount it.
Gud luck.
Thanks,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 09:14 PM
11-09-2006 09:14 PM
Re: fsck error: "file system is larger than device"
try: fsadm -F vxfs -o /dev/vgHITACHI_P6/lvHI
if you have problem, do a "lvremove /dev/vgHITACHI_P6/lvHI" then recreate it with lvcreate. "newfs -F vxfs -o largefiles /dev/vgHITACHI_P6/rlvHI"
Yang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 09:15 PM
11-09-2006 09:15 PM
Re: fsck error: "file system is larger than device"
Yang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 09:29 PM
11-09-2006 09:29 PM
Re: fsck error: "file system is larger than device"
lvcreate --> ok
On execute newly "newfs -F vxfs ...":
I get:
"vxfs newfs: /dev/vgHITACHI_P6/lvHIP16 is not a character device"
Any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 09:32 PM
11-09-2006 09:32 PM
Re: fsck error: "file system is larger than device"
Use
/dev/vgHITACHI_P6/rlvHIP16