rob_coles Posted June 1, 2011 Posted June 1, 2011 We've got a debain server hosting both our website and moodle installation. It's been running now for a few years stable until recently. Our moodle has surpassed our hd capacity. Got a spanky new hd for it to sit on is there any quick simple way to ghost move the installation on the new drive? Suggestions please,
powdarrmonkey Posted June 2, 2011 Posted June 2, 2011 (edited) Post the output of: df -h; mount; cat /etc/debian_version Edited June 2, 2011 by powdarrmonkey nope, no root required
Jamo Posted June 2, 2011 Posted June 2, 2011 You could always use it as a place to start the migration to a new version? Backup the moodle database and files and reapply on the new server?
rob_coles Posted June 2, 2011 Author Posted June 2, 2011 is it an LVM volume? Will check first thing in morning
dhicks Posted June 2, 2011 Posted June 2, 2011 Got a spanky new hd for it to sit on is there any quick simple way to ghost move the installation on the new drive? You should be able to simply copy the old hard drive over to the new - swap the hard drives, boot off a CD, format the newly installed hard drive as ext3, attach the old hard drive via USB and copy the files across. Install your boot loader on the new hard drive and reboot.
rob_coles Posted June 3, 2011 Author Posted June 3, 2011 Post the output of: df -h; mount; cat /etc/debian_version intranet:~# df -h; mount; cat /etc/debian_version Filesystem Size Used Avail Use% Mounted on /dev/sda1 71G 64G 3.9G 95% / tmpfs 1014M 0 1014M 0% /lib/init/rw udev 10M 752K 9.3M 8% /dev tmpfs 1014M 0 1014M 0% /dev/shm /dev/sda1 on / type ext3 (rw,errors=remount-ro) tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) procbususb on /proc/bus/usb type usbfs (rw) udev on /dev type tmpfs (rw,mode=0755) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620) Im getting the feeling that it's prob going to be better to install fresh (current) and migrate. If I was to start afresh would you recommend debain again or try another distro? Im fairly limited using nix just tend to google how too's which works wonders.
rob_coles Posted June 3, 2011 Author Posted June 3, 2011 While im thinking on is there any distro that will sit happy on a hyper v server?
CyberNerd Posted June 3, 2011 Posted June 3, 2011 I think only Redhat/Oracle are supported on HyperV. don't worry though - adding a disk to this will be easy we can talk you through it. First shut down your server and add the new disk ( I assume only one disk, your not setting up a RAID array). When the new disk is in we will set up an LVM volume, format it and mount it somewhere temporarily, move your files over then mount it in the correct place. add the disk then run this fdisk -l | grep '^Disk' 1
rob_coles Posted June 3, 2011 Author Posted June 3, 2011 I'm just running a full backup of the server/sql's just in case thanks for your assistance It's going to be a few hours to complete will post back when completed.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now