- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- fsadm : should be a character 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
03-11-2004 04:06 AM
03-11-2004 04:06 AM
I'd like to use the /home file system as a large filesystem, but I get this message :
should be a character device .
The system is HP-UX 11.23 Itanium version 2.
Anyone an idea ?
I must leave the office now and can only reply within 12-14 hours, but thanks in advance.
Franky
# cat fstab
# System /etc/fstab file. Static information about the file systems
# See fstab(4) and sam(1M) for further details on configuring devices.
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand vxfs tranflush 0 1
/dev/vg00/lvol4 /tmp vxfs delaylog 0 2
/dev/vg00/lvol5 /home vxfs delaylog 0 2
/dev/vg00/lvol6 /opt vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
# bdf | grep home
/dev/vg00/lvol5 15360000 8896 15231184 0% /home
# /usr/sbin/fsadm -F hfs -o largefiles /dev/vg00/lvol5
fsadm: /dev/vg00/lvol5 should be a character device
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 04:12 AM
03-11-2004 04:12 AM
Re: fsadm : should be a character device
If you have online JFS installed, try this:
# fsadm -F vxfs -o largefiles /home
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 04:13 AM
03-11-2004 04:13 AM
Re: fsadm : should be a character device
Wrong FS-type - use
/usr/sbin/fsadm -F vxfs -o largefiles /dev/vg00/lvol5
And don't forget to add largefiles to it's entry in /etc/fstab.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 04:33 AM
03-11-2004 04:33 AM
SolutionWith your options, it appears as a HFS filesystem which means you cannot use OnlineJFS. So you will need to unmount /home and then run fsadm on the character device.
#umount /home (you may have to bring down the processes that access /home)
#fsadm -F hfs -o largefiles /dev/vg00/rlvol5
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 04:35 AM
03-11-2004 04:35 AM
Re: fsadm : should be a character device
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 07:52 PM
03-11-2004 07:52 PM
Re: fsadm : should be a character device
I must confess I did not check the filesystem type of /home. Thanks for helping me.
With
/usr/sbin/fsadm -F vxfs -o largefiles /dev/vg00/lvol5
I got this error :
vxfs fsadm: /dev/vg00/lvol5 is not the root inode of a vxfs file system
But another ITRC thread pointed out I should use 'rlvol5' instead of 'lvol5' .
Regards,
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 08:13 PM
03-11-2004 08:13 PM
Re: fsadm : should be a character device
This depends on OnlineJFS installed or not.
If You have OnlineJFS installed you could use the
# fsadm -F vxfs -o largefiles /home
or
# fsadm -F vxfs -o largefiles /dev/vg00/lvol5
without umounting the filesystem. If you don't have OnlineJFS installed you will have to unmount the filesystem and use the raw logical volume file
# umount /home
# fsadm -F vxfs -o largefiles /dev/vg00/rlvol5
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 08:28 PM
03-11-2004 08:28 PM
Re: fsadm : should be a character device
Thanks also for your feedback.
The problem is solved.
Franky