I need help setting up LVM snapshots on Ubuntu 16.04
I am running Ubuntu 16.04 on a HP laptop with a core I3 processor. I am trying to run mariaDB and do hot backups to disk. In order to do that I wanted to create an LVM snapshot and backup the snapshot for a point in time backup, possibly using tar. I included a snapshot of the gparted app showing the volumes that I created.
Here is the OS info:
Here is the output of pvdisplay:
Here is the output of the lvdisplay:
My intent was that the volume /mysql_backup is the snapshot. I would like to make this into a backup script that I could run on demand and practice backup and recovery so that I could hopefully support mariaDB databases as a DBA. I just need to know how to setup the snapshot. I have looked through numerous websites trying to get it set up and I seem to be going in circles. Please let me know if there is something I did not explain properly. Thanks.
Hi all!
Working on Oracle v8.1.7.0.0 with OS as Suse v8.0 Linux.
I had created LVM,linked raw devices to LVM as below:
# for binding raw devices
raw /dev/raw/raw1 /dev/oracle/sam_raw_system_251m
raw /dev/raw/raw2 /dev/oracle/sam_raw_users_26m
raw /dev/raw/raw3... (2 Replies)
Hi guys,
i am intrested to learn about snapshots. I was a bit confused about snapshot i know using fssnap -F ufs -o bs (i dont understand the exact what to give the path after this ) if any one know the proper syntax..pls help me. (2 Replies)
Hi,
I'm new to HP-UX.
I have LVM on /var with 92Gig. I would like to reduce it to create another LVM for Oracle client with 800 meg or so. How to do it. I'm running 11.iv3
Thanks (4 Replies)
Hi
i have a user "SYSTEM"
i want to set the below command in his .profile for an alias:
who | awk '{print $1}'| sed '/SYSTEM/d' | sed '/root/d' |xargs -i pkill -u {}
i tried as below:
alias stop = " who | awk '{print $1}'| sed '/SYSTEM/d' | sed '/root/d' |xargs -i pkill -u {}"
... (3 Replies)
I have a script with:
mplayer tv:// -tv driver=v4l2:device=/dev/video0:width=320:height=240:norm=NTSC:fps=30:noaudio:input=0 -vf screenshot -aspect 4:3 -vo xv
to take .png screenshots.
It now works but am not getting what the webcam sees displayed in the frame -- just snow noise.
Does someone... (1 Reply)
Hi guys.
I'm confused how LVM snapshots work. Here is what i understood:
1. we have a Logical Volume holding our data.
2. we make a snap shot of it with this command:
lvcreate -L 1000M -s -n backup /dev/vg01/lv013. mount the snap shot
4. take your backup
5. remove the snapshot --> in this... (3 Replies)
0 down vote favorite share share share
Let's solve my case please, it's urgent I have installed ubuntu server 11.04 on a machine with size 4GB. As, the ubuntu server 11.04 does not support real time kernel by default, I ... (0 Replies)
I am trying to install timbl- memory based learner tools in ubuntu. it after unpacking the tar file it brings the following msg
No package 'ticcutils' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you... (1 Reply)