/srv/irclogs.ubuntu.com/2024/03/18/#ubuntu-us-mi.txt

waldo323_lvm question, I have system which has 1 volume group wth 4 logical volumes, is there a way to split these into separate groups without needed additional hard drive space? I18:10
waldo323_have seen examples where they basically copy a volume to a new group which has enoug disk space but that is not an option in this case.  the only volume that is actually impoartant is the one that is large enough that there woun't be enough space to copy it to another location , going to be aft for a little while but wanted to get the question entered before it left my brainspace18:12
jrwrenProbably not.18:36
jrwrenbiggest question is: why would you want to? waht problem are you trying to solve?18:37
jrwrena VG holds PVs. So you'd have to empty PVs and move them to the new VG.18:37
jrwrenIn general, fewer VGs (ideally 1) is the most flexible config.18:37
waldo323_using security onion, and moving from 2.3 to 2.4 is a OS jump from centos 7 to oracle 9. we wanted to be able to keep our historical data. 19:36
waldo323_but the commands in their documentation aren't correct for their automated setup from 2.3. their instructions expect a particular volume to be its own volume group but it is in fact only a logical volume. their suggestion is to exclude this from the setup when installing fresh and then copy some of the new files in the folder from the fresh install into the previously excluded file system and change the mount point... https://docs.securityonion.n19:40
waldo323_et/en/2.4/appendix.html 19:40
jrwrenwow, sounds like nightmare maintenance.19:44
waldo323_i'm going to go on a limb and guess this wasn't tested with the 2.3 installed from their iso as the iso installation (or at least the options I've gone through so far) haven't given the option to exclude or select disks it simply expects all disks to be used for the new installation - which given the use case its not unreasonable 19:55
waldo323_the data that would get saved would likely get over written with new data in a relatively short amount of time anyway unless there is any trend data which wouldn't get overwritten - not sure19:57
waldo323_if I were to guess, I'd guess that the CentOS changes over the past couple of years contributed to this complication20:02
waldo323_while working on this, I learned you can't shrink xfs file systems20:03
jrwrenreally?20:04
jrwrenwhy do I feel like I have done that.20:04
jrwrenwow, yeah, the command is even xfs_growfs. I wonder if I knew that and forgot and its another reason why I always preferred ext4.20:05
waldo323_everything i've found said to create a smaller one and copy the data into it20:05
jrwrendarned shame, because xfs is so nice.20:05
waldo323_yeah :)20:06
waldo323_they instructions for, but won't support, a network installation so i'll try that again. i'll start with removing the root volume, re-create the root volume smaller and a temp volume for the nsm folder then install Oracle 9 which they are using as their base. I ran into an issue which was possibly user error last time I tried.... I am running this in a test environment which is helpful for ease of mind20:12
waldo323_*they have instructions for20:12
waldo323_just found that adding a disk to the system gives the option I was missing before, to exclude the disk with nsm on it20:44

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!