- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- how to get the filesystem of unmounted partition
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
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
тАО07-28-2010 09:09 PM
тАО07-28-2010 09:09 PM
how to get the filesystem of unmounted partition
/dev/sdb1 and the partition is not mounted.
i do not know whether there is data in it or whether it is empty or formatted (ext3 or OCFS). is it possible to find out the filesystem in it while it is umounted so that i can mount it using the correct parameters?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2010 11:02 PM
тАО07-28-2010 11:02 PM
Re: how to get the filesystem of unmounted partition
If you omit the filesystem type option from the mount command, or specify the type "auto", the mount command will attempt to determine the correct type automatically.
Example:
mount /dev/sdb1 /mnt
or
mount -t auto /dev/sdb1 /mnt
First it uses the blkid or volume_id library to try and determine the correct type; if that produces no results, it will attempt to use all filesystem types listed in /etc/filesystems in turn. If that file does not exist, the mount command will try all filesystems listed in /proc/filesystems (i.e. all filesystem types known by the kernel and currently-loaded modules).
If the auto-detection is successful, the filesystem will be mounted and you can run the "mount" command without arguments to see the detected filesystem type.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2010 12:19 AM
тАО07-29-2010 12:19 AM
Re: how to get the filesystem of unmounted partition
do i do a
mount -t ocfs2 /dev/sdi1 /data4
on both nodes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2010 02:04 AM
тАО07-29-2010 02:04 AM
Re: how to get the filesystem of unmounted partition
http://oss.oracle.com/projects/ocfs2/
http://oss.oracle.com/projects/ocfs2/dist/documentation/v1.2/ocfs2_users_guide.pdf
http://oss.oracle.com/projects/ocfs2/dist/documentation/v1.2/ocfs2_faq.html
Before mounting the OCFS (or any other cluster filesystem) on multiple nodes, the necessary cluster lock services must be running. Single-node mounting _may_ be possible without the lock services.
(I don't have experience with OCFS2.)
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2010 08:10 AM
тАО08-08-2010 08:10 AM
Re: how to get the filesystem of unmounted partition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2010 09:31 AM
тАО08-08-2010 09:31 AM
Re: how to get the filesystem of unmounted partition
sorry for not replying earlier ...
i was able to mount the partition on one node
using
mount /dev/sdi1 /mnt
further
mount command showed me its a formatted with ocfs and contains data.
thanks again
i have not tried the magic command till now.
will try it soon