Hi Guys,
I've installed a new raid onto the server and want to transfer the data from the current drive to the new raid, can i just move the RRD files and and logs rather than re-installing the whole program to the other drive? I also want to do this for LogServer as well... is this nice and easy or a lot of time and effort?
Migrate Logs and Data to new drives
Re: Migrate Logs and Data to new drives
When you mention you've installed a new raid onto the server, can you please clarify? Are you deploying a new core server, or have you just added additional disks?
As we're in the Core section here, could you please make a new post in the NLS forum relating to it? We do like to keep things isolated to one issue per thread.
As we're in the Core section here, could you please make a new post in the NLS forum relating to it? We do like to keep things isolated to one issue per thread.
Former Nagios Employee
-
- Posts: 267
- Joined: Thu May 07, 2015 4:59 am
Re: Migrate Logs and Data to new drives
I've added new drives, will open another case for NLS thanks
Re: Migrate Logs and Data to new drives
Are you using LVM on the server?
Former Nagios Employee.
me.
me.
-
- Posts: 267
- Joined: Thu May 07, 2015 4:59 am
Re: Migrate Logs and Data to new drives
HI,
Sorry its taken me ages, but it is LVM. Home has its own partition.
Nathan
Sorry its taken me ages, but it is LVM. Home has its own partition.
Nathan
Re: Migrate Logs and Data to new drives
What's the output of an lsblk command?
Former Nagios Employee.
me.
me.
-
- Posts: 267
- Joined: Thu May 07, 2015 4:59 am
Re: Migrate Logs and Data to new drives
Code: Select all
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 232.9G 0 disk
├─sda1 8:1 0 500M 0 part /boot
└─sda2 8:2 0 232.4G 0 part
├─centos-root 253:0 0 50G 0 lvm /
├─centos-swap 253:1 0 7.9G 0 lvm [SWAP]
└─centos-home 253:2 0 174.5G 0 lvm /home
sdb 8:16 0 465.8G 0 disk
└─sdb1 8:17 0 465.8G 0 part
└─md0 9:0 0 465.7G 0 raid1
sdc 8:32 0 465.8G 0 disk
└─sdc1 8:33 0 465.8G 0 part
└─md0 9:0 0 465.7G 0 raid1
sr0 11:0 1 1024M 0 rom
Last edited by tmcdonald on Wed Apr 27, 2016 9:56 am, edited 1 time in total.
Reason: Please use [code][/code] tags around terminal output
Reason: Please use [code][/code] tags around terminal output
Re: Migrate Logs and Data to new drives
As long as the paths remain the same, nagios should not care (or know) which drive it is stored on, as this is handled as an abstraction by the filesystem.
Former Nagios employee
-
- Posts: 267
- Joined: Thu May 07, 2015 4:59 am
Re: Migrate Logs and Data to new drives
Brilliant thank you for all the help guys, please close the case.