- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- to put together filesystems to one filesystem
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
тАО12-10-2003 07:41 PM
тАО12-10-2003 07:41 PM
to put together filesystems to one filesystem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2003 07:55 PM
тАО12-10-2003 07:55 PM
Re: to put together filesystems to one filesystem
Do you need to expand the filesystem or can you just move the data?
Are the disks used for the lvol you want to destroy solely used for that lvol so you could move them to the lvol you want to expand?
Are you using mirroring?
For instance, you could temporarily use mirror disks to expand your lvol and filesystem, move the data, destroy the other lvol, move the disks to the right volumegroup, add mirroring again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2003 07:55 PM
тАО12-10-2003 07:55 PM
Re: to put together filesystems to one filesystem
Are you able to stop the software running in those file systems? if so:
Create one large lvol and copy all the data to this new lvol. e.g.
# cd fromdir ; tar cvf - . |( cd todir; tar xf - )
# umount fromdir
# mv todir fromdir
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2003 08:05 PM
тАО12-10-2003 08:05 PM
Re: to put together filesystems to one filesystem
There is no LVM command using that you can add file system.
You have to do it manually like,
1. Create a big FS
2. MV the content of other FS to this .
Regards
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2003 08:10 PM
тАО12-10-2003 08:10 PM
Re: to put together filesystems to one filesystem
#du -ks
provides the size in Kb for the fs mounted on
2. Create an lvol whose size it's, at least, the sum of the spaces of 1.
#lvcreate -L
3. Create the target fs and its mount point:
#newfs -F vxfs /dev/vgXX/rlvmerge
#mkdir /mntlm
#mount /dev/vgXX/lvmerge /mntlm
4. Copy the contents of the source fs to the target one, ie:
#find
...
#find
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2003 08:31 PM
тАО12-10-2003 08:31 PM
Re: to put together filesystems to one filesystem
these logical volumes are mounted now:
/dev/vg02/lvol2 /cat
/dev/vg02/lvol3 /pork
/dev/vg03/lvol3 /dog
/dev/vg00/lvol11 /sheep
/dev/vg03/lvol7 /bird
I want to mount these logical volumes
to filesystm /cat_pork_dog_sheep_bird
I do not want to expand, i do not want to create new filesystem and move filesystems to new filesystem. Is it possible to put together logical volumes in differrent volume groups or create filesystems with more logical volumes or mount more logical volumes to one filesystems?
mount /dev/vg02/lvol2 /dev/vg02/lvol3 /cat_pork?
Tanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2003 08:35 PM
тАО12-10-2003 08:35 PM
Re: to put together filesystems to one filesystem
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2003 08:55 PM
тАО12-10-2003 08:55 PM
Re: to put together filesystems to one filesystem
Simple answer no.
You have to create one large filesystem or expand a filesystem and copy all your animal directories into the one filesystem.
Regards,
Robert-Jan