Debian Configuration :: BUG After Create Snapshot In A Script - Xen 4.01 - 2.6.32-5?

May 10, 2011

I have met a Bug in the debian squeeze with the kernel 2.6.32-5-xen-amd64 and Xen 4.0.1 I have try with two differents environment, but i have the same result. I haven't this bug when i use just the kernel 2.6.32-5-xen-amd64 without the hypervisor Xen 4.0.1 and on the debian lenny with the kernel 2.6.26-2-xen-amd64 + Xen 3.2.1. When i run a script who create a snapshot of a LV, i have this Bug error: Just after the "lvcreate -s -n Snap -L 1G /dev/data/svsqueeze" in the script

[Code]...

View 1 Replies


ADVERTISEMENT

Debian Configuration :: Difference Between Kernel Snapshot, Mainline, Stable?

Jul 20, 2011

I've never understood the difference between these terms in http://www.kernel.org:

- snapshot
- mainline
- stable
- longterm

It's not in Kernel's FAQ and I can't find about it on Google.

View 2 Replies View Related

Debian Configuration :: Multipath Configuration On 5.0 64 Bit - Doesn't Create The Relative Devices

Jul 20, 2011

i have a HP MSA 2312fc SAN with 2 LUNs configured. The first LUN (LUN ID 1) is correctly connected to the system, but when i connect the second LUN (LUN ID 30), i find in the syslog this message: multipathd: 8:64: size 6835937472, expected 5267578112. Discard

Here is the multipath.conf

[Code]....

So I correctly see the two luns, but multipath doesn't create the relative devices. Under /dev/mapper I see: control mpath0 mpath0-part1 mpath0-part1 is the first lun, the one I mounted in a directory under filesystem. I can't find the device for the second lun

View 1 Replies View Related

Ubuntu Installation :: Possible To Create An ISO Install File/CD From Snapshot Of Current Working Install?

Sep 25, 2010

I have an apparently stable installation of Xubuntu that I've hand-tweaked in a few ways. I'd like to be able to reinstall this system verbatim on this machine should a disk crash happen, etc.Is there a "standard" method to create an install and/or total-backup CD that would be an instantiation of the currently-installed-and-modified system?

View 1 Replies View Related

Debian :: Can't Get Snapshot To Work Correctly?

Dec 22, 2010

I started to use Debian Live about three months ago. I can't get snapshot to work correctly. Each time the system boots or shutdown, the system over-writes the persistent file. I'm currently have to use the live-snapshot command to make a snapshot. Make a copy of the file for a backup. Then I have to boot my system and make a copy of the backup and rename the file the correctly. Turn off my laptop (not shutdown). then restart it for the persistent to work. Must be a easier way.I have three partitions: debian-live (/dev/sdb1), live-sn(/dev/sdb2), and home-rw (/dev/sdb3) on a 8 gig usb flash drive.

View 1 Replies View Related

Debian Configuration :: KDE4 - How To Create VPN Connection

Nov 4, 2010

Alright, I was playing with the VPN capabilities in KDE4 on Squeeze AMD64 on my personal laptop (see my signature) and found it very easy to create a VPN connection and connect, but that's it. I made a VPN tunnel to one of my client locations as a test, but could use rdesktop to get into the server. Then I realized I couldn't ping the server either. I also lost all ability to browse the web and everything while the VPN was up. Upon checking ifconfig as root, I saw that it created "ppp0" and hat it had pulled an IP from the client network, but all of my networking capabilities were gone. What gives? What is it that I am missing?

View 4 Replies View Related

Debian Configuration :: Xen-create-image - Command Not Found

Oct 26, 2015

I have been following the Xen Beginners Guide here: [URL] .....

Everything was going smoothly until I got to the 'Configuring xen-tools and building our guest' section (two thirds down the page).

I installed xen-tools and then typed the following in a terminal window (as root):

xen-create-image --hostname=development-pv-guest --memory=2048mb --vcpus=2 --lvm=develop --dhcp --pygrub --dist=jessie

I admit PV is new to me, compared to simple HVM, so I have a number of questions:

1. Why the command not found error?

2. Should I be booting from the Xen option or regular boot option at the start up screen when creating the xen image? I've tried both and get the same error message.

3. I have Debian 8 (Jessie) installed on my system and I wasn't sure whether I should therefore make this the guest OS in my Xen PV. In asking this question I'm thinking in terms of HVMs - but I assume my Xen PV needs a guest OS of some kind? Or is my host Debian 8 already acting as a guest OS in Xen PV? I'm confused

4. If I do need to install a guest OS, is it better to go for an earlier version of debian - so as not to be so resource hungry?

I'm nervous about screwing up my host debian installation, so when I got the error message, did some research but found nothing meaningful. I don't want to end up having to reinstall my Debian 8 (base OS) ... again!

View 8 Replies View Related

Debian Configuration :: Create A LiveCD With Option Of Installation

Jan 27, 2010

I am trying to create a LiveCD with the option of installation.So far, so good.Live and installation works well.Now I want to automate the installation. The problem is that when I run the install from the ISO, he said he did not could find the preseed file.In looking around, it seems that we should add this file in initrd But, I do not see how.I searched a few hours on the net in vain.

View 1 Replies View Related

Debian Configuration :: Create Lenny Usb-hdd Live With Ext2?

Feb 10, 2011

create lenny usb-hdd live and would like to have ext2 on the usb stick.I changed in config/binary to ext2:LH_BINARY_FILESYSTEM="ext2"but get this problem:# lh_clean # lh_build W: You have selected values of LH_BOOTLOADER and LH_BINARY_FILESYSTEM which are incompatible - syslinux only supports FAT filesystems.

P: Setting up cleanup function

View 7 Replies View Related

Debian Configuration :: Create A Ramdisk At Boot Time?

Jun 1, 2011

On Debian Etch I used to understand how to change boot kernel parameters with Grub. You could just edit menu.lst.

With the newer Grub in Squeeze I am without a clue! I want to set up a ramdisk, say 128 Megs in size, and add that to my boot parameters so that it is created every time the machine starts. Do I set something in /etc/default/grub ?

View 3 Replies View Related

Debian Configuration :: Postfix - Cannot Currently Create Any Folders Other Than Inbox

Jun 20, 2011

My Postfix cannot currently create any folders other than inbox. Even when I send an e-mail I receive an error along the lines of, "Could not create sendmail folder." Also, my Postfix isn't receiving e-mails, and can only send e-mails to other accounts on the server. I called my ISP and they told me my port 25 isn't blocked, and it is forwarded on my router so I am not sure what could be wrong. I am using zoneedit as my name server and I am pretty sure my MX record is good.

View 14 Replies View Related

Debian Configuration :: Create An Encrypted File And Later Mount It As A Filesystem?

Aug 24, 2010

I am trying to create an encrypted file and later mount it as a filesystem.

KEY=`tr -cd [:graph:] < /dev/urandom | head -c 79`
echo $KEY | openssl aes-256-cbc > container.key
dd if=/dev/urandom of=~/container.img bs=1G count=10
losetup /dev/loop0 ~/container.img

[code]....

The luksOpen command asks me for my passphrase, but always rejects it. I have retried this several times and written down the passphrase - and even tried with a very simple one just to check. And I never can make it work.

View 2 Replies View Related

Debian Configuration :: How To Create Script To Format Hard Drive

Sep 10, 2010

I am new to debian and recently I have been working with a debian server. I have been asked to find out how to create a script that you can run or can be run by another program to format and mount a new hard disk?

View 3 Replies View Related

Debian Configuration :: Unable To Create Stat Exclude Rule For Auditd

Apr 25, 2016

I'm trying to configure auditd to monitor "strange" events with apache2 weberver on Wheezy (though same problem occurs on Jessie), tried both with "vanilla" 3.2 and backports 3.16 kernel I am actually using.

Here's auditd rules I have problem with:

Code: Select all-a exit,never -F arch=b64 -S stat -F path=/var/www/server-status -k web
-a exit,always -F arch=b64 -S stat -F uid=www-data -F success=0 -k web

So to recap, I want to log stat syscall failures for www-data user, but excluding some "known" issues, such as that "/var/www/server-status" (after a2enmod status, /server-status path can be accessed for statistics, though apache2 still tries to find physical file for that path and fails).

But the problem is.. excluding does not work.

Here's "auditctl -l" output:

Code: Select all# auditctl -l
LIST_RULES: exit,never arch=3221225534 (0xc000003e) watch=/var/www/server-status key=web syscall=stat
LIST_RULES: exit,always arch=3221225534 (0xc000003e) uid=33 (0x21) success=0 key=web syscall=stat

But when I execute:
Code: Select all# wget -O - http://localhost/server-status

audit.log appears:
Code: Select alltype=SYSCALL msg=audit(1461591557.077:365): arch=c000003e syscall=4 success=no exit=-2 a0=7f1bedab9358 a1=7ffef316ac20 a2=7ffef316ac20 a3=7f1bedab91f8 items=1 ppid=2398 pid=2451 auid=4294967295 uid=33 gid=33 euid=33 suid=33 fsuid=33 egid=33 sgid=33 fsgid=33 tty=(none) ses=4294967295 comm="apache2" exe="/usr/lib/apache2/mpm-prefork/apache2" key="web"
type=CWD msg=audit(1461591557.077:365):  cwd="/"
type=PATH msg=audit(1461591557.077:365): item=0 name="/var/www/server-status" nametype=UNKNOWN
type=UNKNOWN[1327] msg=audit(1461591557.077:365): proctitle=2F7573722F7362696E2F61706163686532002D6B007374617274

So, syscall=4 (stat) is still captured. Looks like "path" is known for auditd, but not excluded.

I've tried various rule combinations, for example simpler, more generic one:

Code: Select all-a exit,never -F path=/var/www/server-status

But it's the same.

Sadly man audit.rules and man auditctl does not have "exit,never" examples, only some (sometimes also similarly unsuccessfull) google results.

Could it be that Debian kernel does not support some audit features?

View 1 Replies View Related

Debian Configuration :: Right Click - Create File From Document Template List?

Jul 2, 2011

When I right click on a free area of the desktop or within an open folder, I read "Create Document" -> "no templates installed" and "Empty File". How to install the templates in there so I could open a file of my choice?

View 3 Replies View Related

Debian Configuration :: Pamthreshold To Create Small Greyscale Image Of A Text Document

Nov 23, 2010

I have an old scanner script that uses pamthreshold to create a small greyscale image of a text document. This program does not seem to be available in debian. Can anyone tell me how I can install it, or if there are any better alternatives available?

View 1 Replies View Related

OpenSUSE :: Take A Snapshot Of Desktop ?

Mar 18, 2010

Need to take a snapshot of my desktop to post in a vmware forum.

my os is opensuse 11.1 with kde

View 7 Replies View Related

Ubuntu :: Take A Snapshot Of My Installation?

Oct 14, 2010

Just lost my harddrive. Bought a new one, installing Ubuntu 10.10. I would like to installa a couple of programs after my installation, wanting to use the machine to develop programs - so I am going to install Eclipse and Glassfish and tomcat and such.

When I am done with that I would like to take some kind of snapshot and burn to a disc. So if a crash comes visiting me again, then I am able to install my basics. This would save me from those boring moments in live.

Can I take a 'snapshot' of my installation, Could I then restore this in some easy way ?

View 3 Replies View Related

General :: How To Take Snapshot In RHEL5

Mar 22, 2010

I want to make a snapshot of RHEL5 about my current situation ,how will I do that ?

View 3 Replies View Related

Software :: How To Make A Snapshot

Apr 21, 2011

I use the RH Linux 5 and it contains some tools/software like swig, python etc. But the version of these tools are lower than what I want. So I am going to install the tools with higher version on it. Before I do this I will make a snapshot first so if something goes wrong, I cat restore the system.I've heard the most easy way to do this is make a snapshot. Someone know how to do this?

View 1 Replies View Related

Ubuntu :: Load Host Snapshot Into Vm

Sep 1, 2011

Is there a possiblity to load your host snapshot into a virtualmachine and how?

Which vm would you use?

KVM or virtualbox or others?

View 2 Replies View Related

General :: .snapshot Filling The Nfs Disk?

Jul 19, 2010

I have a lot of data on a nfs store external to an Ubuntu machine. I've had problems with the storage becoming full and have spent a very long time deleting files to get absolutely nowhere! Over 25GB of deletions on the 80GB disk has only cleared 1.5GB of space...

You can see below the hidden .snapshot directory, the disk usage for the nfs-store is coming out at 97GB when the disk is only 80GB in size, and the two directories I want on the disk are about 22GB in size.The .snapshot directory appears to have been made on Friday, I'd like to know if I can:

1) find out what command ran to create/update it

2) re-run the command to update the directory or remove the directory

Code:

ideasadmin@ideasadmin-desktop:/nfs-store$ ls -la
total 20
drwxr-xr-x 5 500 500 4096 2010-07-16 17:35 .

[code]......

View 3 Replies View Related

Programming :: Getting A Snapshot Of A Running Program?

Nov 17, 2008

I am trying to use perl to run a program using the eval command but the program runs infinitely, i just need it to run basically for one second, stop then give me the output. I tried using fork but it does not really work. The child process is not being killed.

my $pid = fork;
if ($pid == 0) {
my $results = `ngrep etc...`;

[code]...

View 6 Replies View Related

General :: Full System Clone Snapshot Using Rsync?

Dec 11, 2010

I have automated backups running on my ubuntu box using rsnapshot (rsync) basically following this tutorial. My concern is how to restore if everything is lost. Since it does not seem that I can backup the entire drive and that I have to choose individual folders and some like proc/ cause problems.

Currently in my rsnapshot.conf I have (see below). Is there a way to just clone the entire drive? Or should I not do this? Questions:

1, Can I backup in a way such that it is a clone of the drive so that it can be swapped with the current drive?

2, If not yes to clone, If I had a total drive failure would I install a basic ubuntu and then replace all the files with the backups?

3, Anything I might not know about that I should.

[Code]...

View 1 Replies View Related

General :: Copy - Take A Snapshot Of A Directory As It Was At A Particular Point In Time?

Mar 4, 2011

I have a directory containing a lot of result log files (directory size ~ 4GB), and a set of processes running that keep on writing to these files. To be able to correctly analyze the results at a later time, I want to copy the whole directory to an archive destination, and I cannot stop the processes.

I want a copy of the directory as it was at a particular point of time. As the size directory is huge (which means it takes about 40 seconds to copy) and some of the files are being written to, a normal cp -r does NOT give me a snapshot at a particular point in time, rather a snapshot of files spread over some 40 seconds. This is not good enough.

Is there a way to get an exclusive lock on the directory and all its components while copying?

View 5 Replies View Related

General :: Compare The Files Differences Between 2 Virtualbox Snapshot?

May 20, 2011

How to compare the files differences between 2 virtualbox snapshots?

View 1 Replies View Related

Ubuntu :: Hangs Up When Creating LVM Snapshot Of /root Volume?

Aug 14, 2010

Recently, I've tried to create a snapshot of my /root folder in 10.04 (I remember to have done so a couple of times without trouble).I used the commandHTML Code: Code: lvcreate -L10G -s -n rootsnapshot /dev/server/root Without a hint of HDD activity, Gnome (?) hangs up - I can move the mouse, and the clock is moving on, but I can't click on anything. No HDD activity, and this goes on forever (after a while, the whole system locks up). This happens each time when I try to create a snapshot.

View 3 Replies View Related

Fedora :: Showing Snapshot Of Last Session If It Shuts Down Abruptly?

Jul 24, 2010

after I upgraded to Goddard I am experiencing a strange thing. Whenever my computer shuts down abruptly due to power failure or some other reason, it shows the snapshot of the last session for a second or so just after the splash screen when I start it again.

View 2 Replies View Related

OpenSUSE :: Virtual Machine Manager Vs. Qemu-kvm Commandline ( Tap Xor Snapshot )?

Mar 28, 2011

I want to experiment with pacemaker, and for that I'd like to start kvm virtual machines with the snapshot option, so that as soon as I stop the vm, all changes are gone and I can start over. Since I couldn't figure out how to setup networking (vm - vm and vm - public) with a kvm commandline without disturbing the Network Manager, I used the Virtual Machine Manager (VMM) for this.

It works now, but I cant see how to use the snapshot option with the VMM. On the other hand, I cant see how I start the resulting vm from the commandline. When I look at the process list, I see the command with these network options:

Code:
-netdev tap,fd=21,id=hostnet0
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:45:30:b0,bus=pci.0,addr=0x3
-netdev tap,fd=22,id=hostnet1
-device virtio-net-pci,netdev=hostnet1,id=net1,mac=52:54:00:84:5b:bc,bus=pci.0,addr=0x6

How would I go about these fd=nn things on the commandline? I guess I somehow have to start the tap devices before, but how?

View 1 Replies View Related

CentOS 5 :: Kernel Panic Creating LVM Snapshot Of Root Fs Volume

Oct 29, 2009

I can cause the kernel to panic immediately with the following command. lvcreate --snapshot --name Snap --extents 100%FREE VolGroup00/LogVol00 The last line of the panic message is "<0>Kernel panic - not syncing: Fatal exception" If I create a snapshot of any other volume it works just fine. It only panics on LogVol00 which is my root fs.

I'm running 5.4 after update from 5.3. It didn't work with 5.3 either. This is a 32-bit guest running in VMWare Server 2.0.1 which is running on FC10 x86_64. I've tried the guest in both UP and SMP (2 cores) modes and observed no difference.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved