- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- linking a raw 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
10-10-2001 11:28 PM
10-10-2001 11:28 PM
Before I have suceesfully link(symbolic) a RAW device from deferent volume group, I came out with the same output with the size(Mb) when I cammand;
lvdisplay -v /dev/src_vg/src_lv and
lvdisplay -v /dev/lnk_vg/lnk_lv
I am wondering why this time when I created a 2048MB LV and command lvdisplay with the link, it only reflected 32Mb..I have recreated the source LV and the symbolic link but the same thing happen.
Is there someone can advice me..
thanks,
joks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2001 09:46 AM
10-11-2001 09:46 AM
Re: linking a raw device
Why do you want to create links to lvs from other volume groups?.I am hearing it for the first time.
Now, if your lnk_vg already has a logical volume that has the same minor number as of the linked logical volume, you may get into problems like what you have now. It will display the size of the logical volume in the lnk_vg that has this minor number.
But I am still confused why you are doing like this.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2001 10:29 AM
10-11-2001 10:29 AM
SolutionHowever, you probably actually need /dev/vg02/rlvol4 but you need to link it to /dev/vg05/rlov1 (for example) for space reasons.
I think this will work:
1) clean up your old junk.
cd /dev/vg02
rm lvol4 rlvol4
2) make new nodes in vg02
mknod rlvol4orig c 64 0x020004
mknod lvol4orig b 64 0x020004
(Your major & minor devices numbers will differ)
3) ln -s /dev/vg05/rlvol1 /dev/vg02/rlvol4
4) chown oracle:oracle /dev/vg05/rlvol1
chmod 660 /dev/vg05/rlvol1
I THINK this will work and keep lvdisplay and vgdisplay happy.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2001 05:01 PM
10-11-2001 05:01 PM
Re: linking a raw device
Your very experience then, your right Im out of space on one of my vg, but im wondering the purpose of rlvol4orig character dev and lvol4orig block dev that you made co'z your not using it on step 3.
tnx,
joks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2001 06:05 PM
10-11-2001 06:05 PM
Re: linking a raw device
For ex., in lnk_vg has the group minor 0x0b0000
and src_vg has ox0a0000
Let's say src_lv in src_vg is 0x0a0001
when you link /dev/src_vg/src_lv to link_vg/lnk_lv, it still maintains the minor number 0x0a0001 which doesn't fall under the group 0x0b0000
So lvdisplay /dev/lnk_vg/lnk_lv/will show nothing or the size of the lvol in lnk_vg that has the minor number 0x0b0001.
But this works within the volume group.
#ln -s /dev/src_vg/src_lv /dev/src_vg/src_lv1
#ln -s /dev/src_vg/rsrc_lv /dev/src_vg/rsrc_lv1
(you can create any number of links and all will show the correct information)
But this is definitly what you don't want.
However, if you don't mind the lvdisplay output, the solution still works as your oracle links will treat this as a simple linked file and follow it to src_vg.
-Sri