Am getting the following error after running the sxback script. Am running this on SLES9 with Scalix 10.
What does " snapshot: Required device-mapper target(s) not detected in your kernel
lvcreate: Create a logical volume" mean? That this script doen't run on SLES ot that the LV needs to be created? Maybe I need some parameters added to the script? It looks like the script is not creating the LV for the backup snapshot to be copied to. Also, once the LV is made and the backup is written to it, where in the directory do I findit? Is it located at /mnt/sxbackup?
I am running this from the command line to understand how things work and where things are created. I wanted to see and make sure informtion is getting written somewhere so my tpae can back it up once it is put in a CRON job.
I do understand that when ./sxbackup -end is run the LV is unmounted and the written data is destroyed.
Right now I do a complete shutdown and tar the mailboxes. I wanted to automate the process and keep the shutdown time to a minumun.
Thanks.
Wed Jan 24 11:59:15 EST 2007
Taking snapshot & Mounting Scalix Data Volume
Suspending Writes to Scalix
Creating the Logical Volume /dev/vgscalix/lvscalix
snapshot: Required device-mapper target(s) not detected in your kernel
lvcreate: Create a logical volume
lvcreate
[-A|--autobackup {y|n}]
[--addtag Tag]
[--alloc AllocationPolicy]
[-C|--contiguous {y|n}]
[-d|--debug]
[-h|-?|--help]
[-i|--stripes Stripes [-I|--stripesize StripeSize]]
{-l|--extents LogicalExtentsNumber |
-L|--size LogicalVolumeSize[kKmMgGtT]}
[-M|--persistent {y|n}] [--major major] [--minor minor]
[-m|--mirrors Mirrors]
[-n|--name LogicalVolumeName]
[-p|--permission {r|rw}]
[-r|--readahead ReadAheadSectors]
[-R|--regionsize MirrorLogRegionSize]
[-t|--test]
[--type VolumeType]
[-v|--verbose]
[-Z|--zero {y|n}]
[--version]
VolumeGroupName [PhysicalVolumePath...]
lvcreate -s|--snapshot
[-c|--chunksize]
[-A|--autobackup {y|n}]
[--addtag Tag]
[--alloc AllocationPolicy]
[-C|--contiguous {y|n}]
[-d|--debug]
[-h|-?|--help]
[-i|--stripes Stripes [-I|--stripesize StripeSize]]
{-l|--extents LogicalExtentsNumber |
-L|--size LogicalVolumeSize[kKmMgGtT]}
[-M|--persistent {y|n}] [--major major] [--minor minor]
[-n|--name LogicalVolumeName]
[-p|--permission {r|rw}]
[-r|--readahead ReadAheadSectors]
[-t|--test]
[-v|--verbose]
[--version]
OriginalLogicalVolume[Path] [PhysicalVolumePath...]
Enable Writes to Scalix
Mount /dev/vgscalix/sxbackup to the Mount Point /mnt/sxbackup
mount: special device /dev/vgscalix/sxbackup does not exist
.....................................................
Wed Jan 24 12:00:06 EST 2007
Umounting Scalix Backup Volume
umount: /mnt/sxbackup: not mounted
Removing the snapshot logical volume
One or more specified logical volume(s) not found.

