hansoc Absent Member.
Absent Member.
1618 views

GMS attachments - relocate to new volume

We are running out of disk space. The server is a virtual and we can add disk with vsphere easy enough, but re-sizing the existing volume is not working. the volume is "busy" - - it is the only volume.

Is there any way to move (relocate) the attachments to a new volume ?
Labels (1)
0 Likes
14 Replies
Micro Focus Expert
Micro Focus Expert

Re: GMS attachments - relocate to new volume

Hi,

Quick question - when partitioning your disk did you create /var as a separate partition?

Please let us know.

Cheers,
Laura Buckley

Views/comments expressed here are entirely my own.
If you find this post helpful, please show your appreciation and click on "Like" below...
0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: GMS attachments - relocate to new volume

laurabuckley;2436555 wrote:
Hi,

Quick question - when partitioning your disk did you create /var as a separate partition?

Please let us know.

Cheers,


Addition to what Laura said do you use LVM?

Thomas
0 Likes
hansoc Absent Member.
Absent Member.

Re: GMS attachments - relocate to new volume

when entering "df" we get:
dev/sda2
udev
tmpfs
there is also a swap file at dev/sda1

regarding lvm ... I see an ext3 (/dev/sda2)
0 Likes
Micro Focus Expert
Micro Focus Expert

Re: GMS attachments - relocate to new volume

Hi,

Ok, you could create a new virtual disk, present the storage to your VM and move your entire /var directory to the new disk following this TID: https://www.novell.com/support/kb/doc.php?id=7015338

I do not suggest moving just the attachments folder as that would no doubt break a ton of things. Rather relocate your entire /var directory as that is where GMS stores all of it's data.

Cheers,
Laura Buckley

Views/comments expressed here are entirely my own.
If you find this post helpful, please show your appreciation and click on "Like" below...
0 Likes
hansoc Absent Member.
Absent Member.

Re: GMS attachments - relocate to new volume

Well, a good option, if not a great option - - thanks. We'll give you an update when we've completed the process. The TID looks within our skills.
0 Likes
Micro Focus Expert
Micro Focus Expert

Re: GMS attachments - relocate to new volume

Hi,

If it's any consolation, I'm no OS guru, I play with collaboration systems, but using that TID I've successfully move /var before. Please do let us know how it goes as we'd be very interested to hear back from you.

Cheers,
Laura Buckley

Views/comments expressed here are entirely my own.
If you find this post helpful, please show your appreciation and click on "Like" below...
0 Likes
Knowledge Partner
Knowledge Partner

Re: GMS attachments - relocate to new volume

In article <hansoc.7k6mlz@no-mx.forums.microfocus.com>, Hansoc wrote:
> We are running out of disk space. The server is a virtual and we can add
> disk with vsphere easy enough, but re-sizing the existing volume is not
> working. the volume is "busy" - - it is the only volume.


Another option is to boot to a GParted ISO and use it to expand the
volume. This is how I've been doing it on the smaller deployments or
where ever we undersized root.



Andy of
http://KonecnyConsulting.ca in Toronto
Knowledge Partner
http://forums.novell.com/member.php/75037-konecnya
If you find a post helpful and are logged in the Web interface, please
show your appreciation by clicking on the star below. Thanks!
GMS troubleshooting tips at http://www.konecnyad.ca/andyk/gwmobility.htm


___
Andy of Konecny Consulting in Toronto
Knowledge Partner Profile
If you find a post helpful, click the Like button below. Thanks!
0 Likes
Knowledge Partner
Knowledge Partner

Re: GMS attachments - relocate to new volume

Am 09.08.2016 um 22:39 schrieb Andy Konecny:
> In article <hansoc.7k6mlz@no-mx.forums.microfocus.com>, Hansoc wrote:
>> We are running out of disk space. The server is a virtual and we can add
>> disk with vsphere easy enough, but re-sizing the existing volume is not
>> working. the volume is "busy" - - it is the only volume.

>
> Another option is to boot to a GParted ISO and use it to expand the
> volume. This is how I've been doing it on the smaller deployments or
> where ever we undersized root.


+1. Gparted needs to be available in every VMWare deployment ready to boot.

CU,
--
Massimo Rosen
Novell Knowledge Partner
No emails please!
http://www.cfc-it.de
CU,
--
Massimo Rosen
Micro Focus Knowledge Partner
No emails please!
http://www.cfc-it.de
0 Likes
hansoc Absent Member.
Absent Member.

Re: GMS attachments - relocate to new volume

Ok - we've looked at this too, and a good solution. We're a bit stuck on the updates and upgrades we've applied over time. Right now we're looking at two options: always nice to be able to choose. Thank you for the direction and we'll let you know.
0 Likes
hansoc Absent Member.
Absent Member.

Re: GMS attachments - relocate to new volume

Not sure but:
Step 4 = cp to /mnt/newvar ... yet the mount point is /var/newvar ?
Step 6 = mkdir /var ---> then cp from /var/newvar to the newly createde /var ?

I've a backup, so trying to work through this.
0 Likes
Micro Focus Expert
Micro Focus Expert

Re: GMS attachments - relocate to new volume

Hi

It is possible that there are a few typo's in the TID - as far as my memory serves me, I mounted the new volume at /mnt/newvar and copied everything to that mount point.

Cheers,
Laura Buckley

Views/comments expressed here are entirely my own.
If you find this post helpful, please show your appreciation and click on "Like" below...
0 Likes
hansoc Absent Member.
Absent Member.

Re: GMS attachments - relocate to new volume

Success following TID 7015338 ( Except step #2: specify mount point as /mnt/newvar)

hmmm "/mnt/newvar" is exactly what I did, and it makes sense, and it worked ... and except for a quick study of vi, all was pretty good. Disk space is great, messages and attachments are processing.
0 Likes
Micro Focus Expert
Micro Focus Expert

Re: GMS attachments - relocate to new volume

Hi,

So glad that everything has worked out for you 🙂 Thanks for letting us know.

Cheers,
Laura Buckley

Views/comments expressed here are entirely my own.
If you find this post helpful, please show your appreciation and click on "Like" below...
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: GMS attachments - relocate to new volume

I'll third that one. I've used it across our virtual environments where
I've undersized linux volumes. The other solution is mount points as in
the earlier posted KB. We generally don't use LVM.



On 8/9/2016 10:52 PM, Massimo Rosen wrote:
> Am 09.08.2016 um 22:39 schrieb Andy Konecny:
>> In article <hansoc.7k6mlz@no-mx.forums.microfocus.com>, Hansoc wrote:
>>> We are running out of disk space. The server is a virtual and we can add
>>> disk with vsphere easy enough, but re-sizing the existing volume is not
>>> working. the volume is "busy" - - it is the only volume.

>>
>> Another option is to boot to a GParted ISO and use it to expand the
>> volume. This is how I've been doing it on the smaller deployments or
>> where ever we undersized root.

>
> +1. Gparted needs to be available in every VMWare deployment ready to boot.
>
> CU,


0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.