- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: fsck with raw and block device file
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
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
тАО04-01-2011 05:23 AM
тАО04-01-2011 05:23 AM
fsck with raw and block device file
fsck -F vxfs /dev/vg01/lvol1
and some time raw file is mentioned
fsck -F vxfs /dev/vg01/rlvol1.
so in what scenario we should use raw and block devices with fsck.
- Tags:
- fsck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2011 05:51 AM
тАО04-01-2011 05:51 AM
Re: fsck with raw and block device file
fsck checks the integrity of the filesystem on the volume. Raw volumes do not usually have filesystems on them.
Do I make sense ?
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2011 05:54 AM
тАО04-01-2011 05:54 AM
Re: fsck with raw and block device file
"Checking the raw device is almost always faster."
That implies to me that, at least in the case of vxfs file systems, you could use either but the raw device will be quicker.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2011 06:33 AM
тАО04-01-2011 06:33 AM
Re: fsck with raw and block device file
"fsck checks the integrity of the filesystem on the volume. Raw volumes do not usually have filesystems on them. "
Filesystems SIT on top of RAW devices. As such you can have filesystems on top of:
/dev/LVMvg/rdata
/dev/vx/rdsk/VXVMdg/data
/dev/rdsk/c100t0d100
/dev/rdisk/disk9p2
FSCK should always be used on the filesystem's RAW volume/device/disk/partition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2011 05:00 PM
тАО04-02-2011 05:00 PM
Re: fsck with raw and block device file
I agree with Alzhy and so does the detailed man page of fsck_vxfs. This is a portion of the manual page on 11.31 Feb 2007 release
"special specifies one or more special character devices (for example,
/dev/rdsk/c1t0d0 or /dev/disk/disk2)"
"Operands
fsck recognizes the following operand:
special Name of one or more special character devices that contain a filesystem."
Regards
Ismail Azad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2011 02:09 AM
тАО04-04-2011 02:09 AM
Re: fsck with raw and block device file
I always thought that fsck should be used with character device files, just like the same with the newfs command. I deliberately used that wording for 'raw' device files - the latter can be misunderstood, it probably must have happened with Mel.
Regards,
Viktor
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2011 02:11 AM
тАО04-04-2011 02:11 AM
Re: fsck with raw and block device file
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2011 03:08 AM
тАО04-04-2011 03:08 AM
Re: fsck with raw and block device file
Well there comes the "terminology" again... "Raw device files" are referred to as "character device files" also and "block device files" as "cooked device files". That is textbook definition.
However, as a partition always has a specific purpose... One of those purposes turn out to be "raw data". Raw data does_not_have a filesystem on it. Being schooled_in_HPUX, these are the coventional terms.
Regards
Ismail Azad