- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem with mount command
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
05-12-2005 12:59 AM
05-12-2005 12:59 AM
i try to mount a fs BUT this fs will be have all disk, /dev/dsk/c0t9d0 is my disk and i did the following step
pvcreate /dev/dsk/c0t9d0
mkdir /myfs/mydir
mount /dev/dsk/cot9d0 /myfs/mydir
but this operation failed,
Any idea
the /etc/fstab is already modified
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 01:03 AM
05-12-2005 01:03 AM
Re: Problem with mount command
mkfs -F vxfs [-o largefiles] /dev/dsk/c0t9d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 01:04 AM
05-12-2005 01:04 AM
Re: Problem with mount command
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 01:12 AM
05-12-2005 01:12 AM
Re: Problem with mount command
once that is done you have to run newfs to create a file system and then you can mount it.
A logical volume that DOES NOT contain a file system cannot be mounted.
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 01:20 AM
05-12-2005 01:20 AM
Re: Problem with mount command
I concur with Uday posting.
The following is hierarchy in the Unix file systems
Volume Group (You add HDD to the VG)
Logical Volume (These are created in VGs)
File System (This is created in a LV)
Then you can mount the file system.
regards
Mobeen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 01:25 AM
05-12-2005 01:25 AM
Re: Problem with mount command
Followin the previous postings, you have now since you did a pvcreate the choice of adding the PV to an existing VG using vgextend command or create a new VG (vgcreate)...
Once you decided which option, create a logical volume using lvcreate then a filesystem with newfs, but all this can be done using SAM which will guide you since it is interactive...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 01:32 AM
05-12-2005 01:32 AM
Re: Problem with mount command
#mkdir /dev/vg01
#mknod /dev/vg01/group c 64 0x010000
#vgcreate /dev/vg01
#vgimport /dev/vg01 /dev/dsk/c0t9d0
#vgchange -a y /dev/vg01
#ll /dev/vg01/lvol* and mount the volumes
Create lvols
lvcreate vg01
lvextend -L 8000 /dev/vg01
(creates a partition of 8GB)
create filesystem.
mkfs -F vxfs -o largefiles /dev/vg01/lvol1
now modify the /etc/fstab to include /dev/vg01/lvol1 instead of /dev/dsk/c0t9d0 and then do a mountall to mount the filesystem.
Regards,
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 01:57 AM
05-12-2005 01:57 AM
SolutionDo you require to create filesystem on whole disk or on LVM?
From your post i understand that you nbeed to create the fs on whole disk.
Perform the following steps:
I) If you have already created physical volume on that disk, remove it:
# pvremove /dev/rdsk/c0t9d0
II) Make filesystem on this disk:
# newfs -F vxfs /dev/rdsk/c0t0d0
If you need to pass some options, you may do want to see the man pages of newfs.
III) Mount the filesystem:
# mount -F vxfs /dev/dsk/c0t9d0 /myfs/mydir.
Regards,
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 02:19 AM
05-12-2005 02:19 AM
Re: Problem with mount command
I did not tell you that i do not use LVM command, the /etc/fstab must be in my server in this way
prueba: more /etc/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 hfs defaults 0 1
/dev/vg00/lvol4 /home vxfs delaylog 0 2
/dev/vg00/lvol5 /opt vxfs delaylog 0 2
/dev/vg00/lvol6 /setm vxfs delaylog 0 2
/dev/vg00/lvol7 /tmp vxfs delaylog 0 2
/dev/vg00/lvol8 /usr vxfs delaylog 0 2
/dev/vg00/lvol9 /var vxfs delaylog 0 2
/dev/dsk/c0t8d0 /setm/base1 hfs defaults 0 2
/dev/dsk/c0t10d0 /setm/base hfs defaults 0 2
prueba:
you can see that last part file there is 2 disk mount without LVM command (without VG), i try to following but ...
# pvcreate /dev/rdsk/c0t9d0 = ok
# mkdir /setm/base = ok
# mount /dev/dsk/c0t9d0 /setm/base
/dev/dsk/c0t9d0: unrecognized file system = ERROR
I need to use to the Whole-disk Approach
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 02:23 AM
05-12-2005 02:23 AM
Re: Problem with mount command
In order to create a filesystem using "whole disk" you are not supposed to run "pvcreate" command.
Perform the steps outlined in my post above, and you should be able to mount the same.
Regards,
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 02:35 AM
05-12-2005 02:35 AM
Re: Problem with mount command
thanks again