Highlighted
Absent Member.
Absent Member.
1766 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
Highlighted
Micro Focus Expert
Micro Focus Expert

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
Highlighted
Knowledge Partner
Knowledge Partner

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
Highlighted
Absent Member.
Absent Member.

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
Highlighted
Micro Focus Expert
Micro Focus Expert

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
Highlighted
Absent Member.
Absent Member.

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
Highlighted
Micro Focus Expert
Micro Focus Expert

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
Highlighted
Knowledge Partner
Knowledge Partner

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


___
“i’ve sworn an oath of solitude til the blight is purged from these lands”
Andy of Konecny Consulting in Toronto
Knowledge Partner Profile
If you find a post helpful, click the Like button below. Thanks!
0 Likes
Highlighted
Knowledge Partner
Knowledge Partner

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
Highlighted
Absent Member.
Absent Member.

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
Highlighted
Absent Member.
Absent Member.

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
Highlighted
Micro Focus Expert
Micro Focus Expert

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
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.