search for: vg0

Displaying 20 results from an estimated 144 matches for "vg0".

Did you mean: v10
2014 Jul 16
1
anaconda, kickstart, lvm over raid, logvol --grow, centos7 mystery
...11 --size 512 --asprimary --ondrive=sdb part raid.12 --size 1 --asprimary --ondrive=sdb --grow raid /boot --fstype="xfs" --device="md0" --level=RAID1 raid.01 raid.11 raid pv.01 --fstype="lvmpv" --device="md1" --level=RAID1 raid.02 raid.12 volgroup vg0 pv.01 logvol / --fstype="xfs" --grow --size=4096 --name=lvRoot --vgname=vg0 logvol swap --fstype="swap" --size=2048 --name=lvSwap --vgname=vg0 If i only add --maxsize=13164 everything is working. (but after install i have 640MB in 20 Free PE in vg0, for details se...
2008 Jan 03
4
physical device
Hi! I'' ve a xen virtual machine, and i'' d like to assign cdrw device to it. My physical device on domain0 is /dev/hda, and in the configuration file i'' ve this: disk = [ ''phy:vg0/vx-disk,sda1,w'', ''phy:vg0/vx-swap,sda2,w'', ''phy:vg0/vx-data,sda5,w'' ] I'' ve tried to assign the cdrom to it in many ways i found in different examples, but none of them worked. I tried to load the cdrom, and ide-generic module, and create the d...
2009 Jan 06
3
Booting issue on CentOS 5.2+Xen 3.3.0
...itrd-2.6.18.8-xen.img /boot is on a regular partition / is also outside LVM but it never works. mount says [root@ut3 ~]# mount /dev/hda2 on / type ext3 (rw,noatime) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/mapper/vg0-lvUsr on /usr type ext3 (rw,noatime) /dev/mapper/vg0-lvSrc on /usr/src type ext3 (rw,noatime) /dev/mapper/vg0-lvOpt on /opt type ext3 (rw,noatime) /dev/mapper/vg0-lvVar on /var type ext3 (rw,noatime) /dev/mapper/vg0-lvSpool on /var/spool type ext3 (rw,noatime) /dev/mapper/vg0-lvLog on /var/log...
2012 Jun 28
2
Strange du/df behaviour.
Hi all. I have currently a server: cat /etc/redhat-release CentOS release 5.7 (Final) uname -a Linux host.domain.com 2.6.18-274.18.1.el5 #1 SMP Thu Feb 9 12:45:44 EST 2012 x86_64 x86_64 x86_64 GNU/Linux I have there a filesystem mounted: /dev/vg0/paczki /home/paczki-workdir ext4 defaults,noatime 0 0 on which df gives strange output: LANG=C df -h /home/paczki-workdir;sleep 3;df -h /home/paczki-workdir Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg0-paczki 1008G 268G 6...
2006 Jan 05
2
can not lvcreate after lvm snapshot and "xm mem-set" and lvremove
I am not sure if it''s a xen bug or lvm bug, or just my bad hardware, but here''s how to reproduce: /dev/vg0/centos1 is lvm block used by a domainU, it''s 8G in size. #lvcreate -L8192M -s -n snap1 vg0 #mount /dev/vg0/snap1 /mnt do some copying files here #umount /mnt #lvremove /dev/vg0/snap1 not removed! it says can''t allocated memory #xm mem-set 0 512 #lvremove /dev/vg0/snap1 now it re...
2009 Oct 27
2
oldschool xen kernel on sid
Hello! In an attempt to finally get a recent Xen dom0 kernel booted on this pesky amd64 system (see <http://lists.xensource.com/archives/html/xen-users/2009-10/msg00485.html> for the (short) story), I wanted to give this one one a try: Marco Nenciarini <mnencia at prato.linux.it> wrote: > I've applied latest forward ported patches from > >
2022 Apr 24
3
Installing mdadm and C7 on new computer
On 04/23/2022 09:19 PM, H wrote: > On 04/19/2022 09:57 AM, Roberto Ragusa wrote: >> On 4/18/22 1:27 PM, H wrote: >>> I have a new computer with 2 x 2TB SSDs where I wanted to install C7 and use mdadm for RAID1 configuration and encrypting the /home partition. On the net I found https://tuxfixer.com/centos-7-installation-with-lvm-raid-1-mirroring/ which I adopted slightly with
2009 Jul 21
6
Troubles converting a pv host from dom0-hosted kernel to self-contained kernel
...3.3.0-7mdv" ramdisk = "/boot/initrd-2.6.18.8-xen-3.3.0-7mdv.img" root = "/dev/sda1 ro" extra = "(hd0)/boot/grub/menu.lst" memory = 256 maxmem = 512 name = "sexonthebeach" uuid = "f36962f5-0dec-4708-84a0-f5b4dea48d34" disk = [ ''phy:/dev/vg0/sexonthebeach,sda1,w'' ] vif = [ ''mac=00:16:3e:00:00:13, bridge=services'' ] As this involves heavy coupling between dom0 and domU, I''m trying to make the PV host self-contained. AFAIK, the only way to do it is via pvgrub. Here is the configuration: kernel = &q...
2009 Jul 01
2
xen-tools: does not unmount disks and mounts proc into the new VM - why?
Hi! I am using xen-tools version: 3.9-4 to create domUs: 1. time xen-create-image --verbose --dist=lenny --install-source=/mnt/xen-file-images/lenny-64-template-debootstrap-30Jun09-fix2.tar --hostname dummy --ip xxx.xxx.xxx.xxx --force 2. xm create dummy.cfg Then I get the message Device /dev/vg0/dummy-disk is mounted in the privileged domain, and so cannot be mounted by a guest. 3. When I tried to umount, I got "device busy". 4. I am really surprised about the output of mount on my dom0: dom0:~# mount /dev/sda1 on / type ext3 (rw,errors=remount-ro) tmpfs on /lib/init/rw type...
2005 Jun 24
4
File System Size Limits?
...ystems in question look like this: Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda2 505636 146754 332777 31% / /dev/hdc1 505604 14287 465213 3% /boot none 517732 0 517732 0% /dev/shm /dev/mapper/VG0-LV00 5160576 2205760 2692672 46% /usr /dev/mapper/VG0-LV01 1032088 218100 761560 23% /var /dev/mapper/VG0-LV02 507748 10555 470979 3% /tmp /dev/mapper/VG0-LV04 507748 10572 470962 3% /usr/local /dev/mapper/VG0-LV05 5160576 43652 4854780 1% /home /de...
2013 Jul 02
1
problem expanding a volume
Hello, I am having trouble expanding a volume. Every time I try to add bricks to the volume, I get this error: [root at gluster1 sdb1]# gluster volume add-brick vg0 gluster5:/export/brick2/sdb1 gluster6:/export/brick2/sdb1 /export/brick2/sdb1 or a prefix of it is already part of a volume Here is the volume info: [root at gluster1 sdb1]# gluster volume info vg0 Volume Name: vg0 Type: Distributed-Replicate Volume ID: 7ebad06f-2b44-4769-a395-475f300608e6 Statu...
2017 Jul 06
2
logical volume is unreadable
...gt;> >> Buffer I/O error on dev dm-13, logical block 0, async page read >> >> this goes for every block in the lv. A ddrescue failed on every single >> block. >> >> >> $ lvdisplay >> --- Logical volume --- >> LV Path /dev/vg0/lv-vm-tviewer >> LV Name lv-vm-tviewer >> VG Name vg0 >> LV UUID XdgHFs-RHVZ-9BAH-1ZSK-yiBX-qqf0-273CtT >> LV Write Access read/write >> LV Creation host, time host1, 2016-02-06 14:58:19 +0100 >>...
2012 Jul 09
6
3.5.0-rc6: btrfs and LVM snapshots -> wrong devicename in /proc/mounts
Hi, using btrfs with LVM snapshots seems to be confusing /proc/mounts After mounting a snapshot of an original filesystem, the devicename of the original filesystem is overwritten with that of the snapshot in /proc/mounts. Steps to reproduce: arnd@kallisto:/mnt$ sudo mount /dev/vg0/original /mnt/original [ 107.041432] device fsid 5c3e8ca2-da56-4ade-9fef-103a6a8a70c2 devid 1 transid 4 /dev/mapper/vg0-original [ 107.044691] btrfs: no dev_stats entry found for device /dev/mapper/vg0-original (devid 1) (OK on first mount after mkfs) arnd@kallisto:/mnt$ cat /proc/mounts | grep...
2011 Feb 23
2
LVM problem after adding new (md) PV
...ad the story. I have couple of 1U machines. They all have two, four or more Fujitsu-Siemens SAS 2,5" disks, which are bounded in Raid1 pairs with Linux mdadm. First pair of disks has always two arrays (md0, md1). Small md0 is used for booting and the rest - md1 is used as PV for volume group (vg0). When I need to enlarge the volume, I just add 2 new disks, create a raid 1 array of their whole space I add it as another mdX to vg0. That has been working fine since yesterday. I received new disks branded by Toshiba (Toshiba bought Fujitsu-Simens hdd business) which were supposed to be added...
2018 Jan 12
5
[PATCH 1/1] appliance: init: Avoid running degraded md devices
...up INT QUIT TERM EXIT + +guestfish <<EOF +# Add 2 empty disks +sparse $disk1 100M +sparse $disk2 100M +run + +# Create a raid1 based on the 2 disks +md-create test "/dev/sda /dev/sdb" level:raid1 + +# Create volume group and logical volume on md device +pvcreate /dev/md127 +vgcreate vg0 /dev/md127 +lvcreate-free lv0 vg0 100 +EOF + +# Ensure list-md-devices now returns the newly created md device +output=$( +guestfish --format=raw -a $disk1 --format=raw -a $disk2 <<EOF +run +list-md-devices +lvs +EOF +) + +expected="/dev/md127 +/dev/vg0/lv0" + +if [ "$output&qu...
2017 Jul 06
3
logical volume is unreadable
...lv has become completely unaccessible. Every read access results in a buffer io error: Buffer I/O error on dev dm-13, logical block 0, async page read this goes for every block in the lv. A ddrescue failed on every single block. $ lvdisplay --- Logical volume --- LV Path /dev/vg0/lv-vm-tviewer LV Name lv-vm-tviewer VG Name vg0 LV UUID XdgHFs-RHVZ-9BAH-1ZSK-yiBX-qqf0-273CtT LV Write Access read/write LV Creation host, time host1, 2016-02-06 14:58:19 +0100 LV snapshot status INACTIVE destination for lv-vm-tvi...
2008 Jul 17
2
lvm errors after replacing drive in raid 10 array
...partitioned with sfdisk -d /dev/sda | sfdisk /dev/sdb, and finally 'mdadm add'ed'. Everything seems fine until I try to create a snapshot lv. (Creating a snapshot lv worked before I replaced the drive.) Here's what I'm seeing. # lvcreate -p r -s -L 8G -n home-snapshot /dev/vg0/homelv Couldn't find device with uuid 'yIIGF9-9f61-QPk8-q6q1-wn4D-iE1x-MJIMgi'. Couldn't find all physical volumes for volume group vg0. Volume group for uuid not found: I4Gf5TUB1M1TfHxZNg9cCkM1SbRo8cthCTTjVHBEHeCniUIQ03Ov4V1iOy2ciJwm Aborting. Failed to activate snapsh...
2012 Jul 10
1
can NOT delete LV (in use) problem...
We have CENTOS 5.6 on DELL server. I create VG and LV on one SSD disk. after couple weeks I decide to delete it. I unmount file system but can not delete LV. It say "in use". I try following but still NOT work: # lvchange -an /dev/VG0-SSD910/LV01-SSD910 LV VG0-SSD910/LV01-SSD910 in use: not deactivating # kpartx -d /dev/VG0-SSD910/LV01-SSD910 # lvchange -an /dev/VG0-SSD910/LV01-SSD910 LV VG0-SSD910/LV01-SSD910 in use: not deactivating Anyone have ideal how to delete it? Thanks.
2007 Nov 18
1
Installing openSuSE 10.3 as PV-guest on a LVM-drive of a openSuSE 10.3 host
...uot; on_reboot="restart" localtime=0 builder="linux" bootloader="/usr/lib/xen/boot/domUloader.py" bootentry="xvda1:/boot/vmlinuz-xen,/boot/initrd-xen" #extra=" " extra=" TERM=xterm" disk=[ ''phy:/dev/vg01/pv-sys,xvda,w'', ''phy:/dev/vg01/pv-swap,xvdb,w'' ] vif=[ ''mac=00:12:34:56:78:9a'', ] - I start this system , but mostly nothing happens, no error, no boot: # xm create OSS103.lvm -> Using config file &quo...
2009 Jan 24
2
rsync with --copy-devices patch and device-target with --write-batch doesnt work
Hi List! I want to use rsync to create differential backups of my lvm-snapshots. fullbackup-filename: /mnt/sdc1/snapshotvergleich/rootbackup1.img current snapshot: /dev/vg0/rootbackup note: compiled-in --copy-devices-patch root@xp8main3:/usr/local/src/rsync# ./rsync --version rsync version 3.1.0dev protocol version 31.PR5 Copyright (C) 1996-2009 by Andrew Tridgell, Wayne Davison, and others. Web site: http://rsync.samba.org/ Capabilities: 64-bit files, 64-bit...