- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mount new 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
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-23-2002 08:04 PM
тАО07-23-2002 08:04 PM
I installed one new disk drive. I use "ioscan -funC disk", I can see the information about the new drive:
class I H/W Path Driver
disk 5 8/16/5.4.0 sdisk
/dev/dsk/c1t4d0 /dev/rdsk/c1t4d0
Then I "mount /dev/dsk/c1t4d0 /usr4", there is error message:
can not open /dev/rdsk/c1t4d0
Would someone please tell me how to solve this problem?
Thanks a lot!
zhiyong
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2002 08:10 PM
тАО07-23-2002 08:10 PM
Re: mount new device
Before you mount this device,
you need
1. create pv.
2. create vg.
3. create lv.
And what kind of this device.
Disk or CD-ROM?
Regards,
Jack Fan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2002 08:18 PM
тАО07-23-2002 08:18 PM
Solutionhi
U can use LVM for mounting that disk
1. pvcreate /dev/dsk/c1t4d0
2. mkdir /dev/vgnew
3. mknod /dev/vgnew/group c 64 0x0140000 ( minor no(0x140000) shud be unique)
4. vgcreate /dev/vgnew /dev/dsk/c1t4d0
5. lvcreate -L size in MB /dev/vgnew
6. newfs -F vxfs /dev/vgnew/rlvol1
7. mount /dev/vgnew/lvol1 /your mount directory
or
create filsystem on the device
newfs -F vxfs /dev/rdsk/c1t4d0
and mount it
mount /dev/dsk/c1t4d0 /your mount dir
Cheers
CTK
you can
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2002 08:19 PM
тАО07-23-2002 08:19 PM
Re: mount new device
Thanks for your reply.
It is disk. Can I mount the disk drive directly? Because I do not want to creat volume group.
zhiyong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2002 08:24 PM
тАО07-23-2002 08:24 PM
Re: mount new device
# newfs -F vxfs /dev/rdsk/c1t4d0
===> Replace "vxfs" with "hfs" is you plan to use HFS.
# mount /dev/dsk/c1t4d0 /usr4
===> Now you mount it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2002 08:27 PM
тАО07-23-2002 08:27 PM
Re: mount new device
# pvcreate /dev/dsk/c1t4d0
# vgextend /dev/yourvg /dev/dsk/c1t4d0
The disk is then ready to use, to either create additional logical volumes or make existing ones larger. If it is the later you will need the online JFS product or you will need to unmount one, extend it and re-mount it.
# umount /myfilesystem
# lvextend /dev/yourvg/yourlv
# extendfs /dev/yourvg/ryourlv
# mount /myfilesystem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2002 08:47 PM
тАО07-23-2002 08:47 PM
Re: mount new device
If whole disk management is chosen, you must create file system first use "newfs" (because you want to mount it to /usr4).
If LVM is selected, you must create PV first,and then VG,and then LV.
Detail operations just as all above.
live as you wish
ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2002 08:53 PM
тАО07-23-2002 08:53 PM
Re: mount new device
u have to create pv (pvcreate), vg (vgcreate) and lv (lvcreate). then ur extend lv (lvextend)and mount.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2002 08:58 PM
тАО07-23-2002 08:58 PM
Re: mount new device
Thanks for all your reply.
There is another disk drives (c0t5d0) in my workstation. It is using LVM. First, I try to avoid the LVM for c1t4d0, I do:
newfs -F hfs /dev/rdsk/c1t4d0
There is error message:
newfs (hfs):Cannot open /dev/rdsk/c1t4d0
newfs (hfs):Device busy
I have another question, How can I know the size of c1t4d0 disk drive?
Thanks a lot! I appreciated it.
zhiyong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2002 09:07 PM
тАО07-23-2002 09:07 PM
Re: mount new device
Would someone tell me how to know the maximum size of c1t4d0?
Thanks a lot.
zhiyong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2002 09:13 PM
тАО07-23-2002 09:13 PM
Re: mount new device
hi
diskinfo /dev/rdsk/c1t4d0
Cheers
CTK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2002 09:29 PM
тАО07-23-2002 09:29 PM
Re: mount new device
Thanks for fast reply!
i try "pvcreate /dev/dsk/c1t4d0", there is error message:
can not open physical volume
"/dev/dsk/c1t4d0"
Then i try "pvcreate /dev/rdsk/c1t4d0", there is no problem, is this command right?
Then I continue to do until the command"
vgcreate /dev/vg01 /dev/dsk/c1t4d0
There is error messege:
vgcreate: can not open the control file
"/dev/vg01/group"
Would someone please tell me what is problem?
Thanks a lot!
zhiyong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2002 09:30 PM
тАО07-23-2002 09:30 PM
Re: mount new device
Thanks for fast reply!
i try "pvcreate /dev/dsk/c1t4d0", there is error message:
can not open physical volume
"/dev/dsk/c1t4d0"
Then i try "pvcreate /dev/rdsk/c1t4d0", there is no problem, is this command right?
Then I continue to do until the command"
vgcreate /dev/vg01 /dev/dsk/c1t4d0
There is error messege:
vgcreate: can not open the control file
"/dev/vg01/group"
Would someone please tell me what is problem?
Thanks a lot!
zhiyong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2002 09:30 PM
тАО07-23-2002 09:30 PM
Re: mount new device
Thanks for fast reply!
i try "pvcreate /dev/dsk/c1t4d0", there is error message:
can not open physical volume
"/dev/dsk/c1t4d0"
Then i try "pvcreate /dev/rdsk/c1t4d0", there is no problem, is this command right?
Then I continue to do until the command"
vgcreate /dev/vg01 /dev/dsk/c1t4d0
There is error messege:
vgcreate: can not open the control file
"/dev/vg01/group"
Would someone please tell me what is problem?
Thanks a lot!
zhiyong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2002 09:32 PM
тАО07-23-2002 09:32 PM
Re: mount new device
Thanks for fast reply!
i try "pvcreate /dev/dsk/c1t4d0", there is error message:
can not open physical volume
"/dev/dsk/c1t4d0"
Then i try "pvcreate /dev/rdsk/c1t4d0", there is no problem, is this command right?
Then I continue to do until the command"
vgcreate /dev/vg01 /dev/dsk/c1t4d0
There is error messege:
vgcreate: can not open the control file
"/dev/vg01/group"
Would someone please tell me what is problem?
Thanks a lot!
zhiyong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2002 09:35 PM
тАО07-23-2002 09:35 PM
Re: mount new device
look at my first reply
CTK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2002 09:37 PM
тАО07-23-2002 09:37 PM
Re: mount new device
2. mkdir /dev/vgnew
3. mknod /dev/vgnew/group c 64 0x0140000 ( minor no(0x140000) shud be unique)
4. vgcreate /dev/vgnew /dev/dsk/c1t4d0
5. lvcreate -L size in MB /dev/vgnew
6. newfs -F vxfs /dev/vgnew/rlvol1
7. mount /dev/vgnew/lvol1 /your mount directory
CTK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2002 09:55 PM
тАО07-23-2002 09:55 PM
Re: mount new device
Thanks a lot for your help!! I appreciate it.
I do the following steps:
1.pvcreate /dev/rdsk/c1t4d0
2. mkdir /dev/vgnew
3. mknod /dev/vgnew/group c 64 0x0140000
There is no problem for the fist three steps, but I do:
4.vgcreate /dev/vgnew /dev/dsk/c1t4d0
There is error message:
vgcreate: can not open the control file
"/dev/vg01/group"
No such device.
I also do "diskinfo /dev/rdsk/c1t4d0", the size is 0 byte.
Thanks a lot for your help again.
zhiyong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2002 10:00 PM
тАО07-23-2002 10:00 PM
Re: mount new device
hi
I would like to know that c1t4d0 is CD drive or not. are you sure that you are having 2 disks in your system. Just Check the existence of disks in your system with the below command
ioscan -fnC disk or ioscan -funC disk
In the last column( description) u can find it the name of manufacturer. just look into that and reply
CTK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2002 10:04 PM
тАО07-23-2002 10:04 PM
Re: mount new device
u have used wrong minor number
"mknod /dev/vgnew/group c 64 0x0140000 "
instead use mknod /dev/vgnew/group c 64 0x010000
you know why??
014 means 20 and your max_vg parameter in the kernel is 10(default)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2002 10:18 PM
тАО07-23-2002 10:18 PM
Re: mount new device
Thanks a lot for help.
I change 0x0140000 as 0x010000, it works, but it still have the error message:
Can not open physical volume
"c1t4d0".
The "ioscan -funC disk" file is attached.
Thanks for your help again.
zhiyong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2002 10:25 PM
тАО07-23-2002 10:25 PM
Re: mount new device
0 bytes means there is something is wrong with the drive.
Get hardwere engineer to replace the disk if not any lose connections.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2002 10:26 PM
тАО07-23-2002 10:26 PM
Re: mount new device
do a pvcreate -f /dev/rdsk/c1t4d0
and check the diskinfo /dev/rdsk/c1t4d0
what is it showing
ad per ioscan the disk is 18GB normal SCSI disk.
CTK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2002 10:27 PM
тАО07-23-2002 10:27 PM
Re: mount new device
If it is a new one, get it replaced, it is faulty. If it is an old one it is no good.
Sorry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2002 10:38 PM
тАО07-23-2002 10:38 PM
Re: mount new device
Thanks a lot for your help.
I will ask the manufacture to replace it.
zhiyong