Advertisement
Guest User

virt-rescue fix

a guest
Mar 14th, 2015
408
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.42 KB | None | 0 0
  1. [root@topo ~]# virt-rescue centos6_2
  2. virt-rescue: warning: virt-rescue doesn't work with the libvirt backend
  3. at the moment. As a workaround, forcing backend = 'direct'.
  4.  
  5. Google, Inc.
  6. Serial Graphics Adapter 06/09/14
  7. SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild@) Mon Jun 9 21:33:48 UTC 2014
  8. Term: 237x64
  9. 4 0
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73. SeaBIOS (version seabios-1.7.2.2-12.el7_0.1)
  74. Booting from ROM...
  75. Probing EDD (edd=off to disable)... ok
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139. [ 0.000000] Initializing cgroup subsys cpuset
  140. [ 0.000000] Initializing cgroup subsys cpu
  141. [ 0.000000] Initializing cgroup subsys cpuacct
  142. [ 0.000000] Linux version 3.10.0-123.20.1.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) ) #1 SMP Thu Jan 29 18:05:33 UTC 2015
  143. [ 0.000000] Command line: panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 TERM=xterm guestfs_rescue=1
  144. [ 0.000000] e820: BIOS-provided physical RAM map:
  145. [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
  146. [ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
  147. [ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
  148. [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001f3fdfff] usable
  149. [ 0.000000] BIOS-e820: [mem 0x000000001f3fe000-0x000000001f3fffff] reserved
  150. [ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
  151. [ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
  152. [ 0.000000] NX (Execute Disable) protection: active
  153. [ 0.000000] SMBIOS 2.4 present.
  154. [ 0.000000] Hypervisor detected: KVM
  155. [ 0.000000] No AGP bridge found
  156. [ 0.000000] e820: last_pfn = 0x1f3fe max_arch_pfn = 0x400000000
  157. [ 0.000000] x86 PAT enabled: cpu 0, old 0x70406, new 0x7010600070106
  158. [ 0.000000] found SMP MP-table at [mem 0x000fdf60-0x000fdf6f] mapped at [ffff8800000fdf60]
  159. [ 0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
  160. [ 0.000000] init_memory_mapping: [mem 0x1ee00000-0x1effffff]
  161. [ 0.000000] init_memory_mapping: [mem 0x1c000000-0x1edfffff]
  162. [ 0.000000] init_memory_mapping: [mem 0x00100000-0x1bffffff]
  163. [ 0.000000] init_memory_mapping: [mem 0x1f000000-0x1f3fdfff]
  164. [ 0.000000] RAMDISK: [mem 0x1f0e1000-0x1f3effff]
  165. [ 0.000000] No NUMA configuration found
  166. [ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000001f3fdfff]
  167. [ 0.000000] Initmem setup node 0 [mem 0x00000000-0x1f3fdfff]
  168. [ 0.000000] NODE_DATA [mem 0x1f0ba000-0x1f0e0fff]
  169. [ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
  170. [ 0.000000] kvm-clock: cpu 0, msr 0:1f06a001, boot clock
  171. [ 0.000000] Zone ranges:
  172. [ 0.000000] DMA [mem 0x00001000-0x00ffffff]
  173. [ 0.000000] DMA32 [mem 0x01000000-0xffffffff]
  174. [ 0.000000] Normal empty
  175. [ 0.000000] Movable zone start for each node
  176. [ 0.000000] Early memory node ranges
  177. [ 0.000000] node 0: [mem 0x00001000-0x0009efff]
  178. [ 0.000000] node 0: [mem 0x00100000-0x1f3fdfff]
  179. [ 0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
  180. [ 0.000000] Intel MultiProcessor Specification v1.4
  181. [ 0.000000] MPTABLE: OEM ID: BOCHSCPU
  182. [ 0.000000] MPTABLE: Product ID: 0.1
  183. [ 0.000000] MPTABLE: APIC at: 0xFEE00000
  184. [ 0.000000] Processor #0 (Bootup-CPU)
  185. [ 0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
  186. [ 0.000000] Processors: 1
  187. [ 0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
  188. [ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
  189. [ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
  190. [ 0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
  191. [ 0.000000] e820: [mem 0x1f400000-0xfeffbfff] available for PCI devices
  192. [ 0.000000] Booting paravirtualized kernel on KVM
  193. [ 0.000000] setup_percpu: NR_CPUS:5120 nr_cpumask_bits:1 nr_cpu_ids:1 nr_node_ids:1
  194. [ 0.000000] PERCPU: Embedded 28 pages/cpu @ffff88001ee00000 s82560 r8192 d23936 u2097152
  195. [ 0.000000] kvm-clock: cpu 0, msr 0:1f06a001, primary cpu clock
  196. [ 0.000000] KVM setup async PF for cpu 0
  197. [ 0.000000] kvm-stealtime: cpu 0, msr 1ee0cfc0
  198. [ 0.000000] KVM setup paravirtual spinlock
  199. [ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 125879
  200. [ 0.000000] Policy zone: DMA32
  201. [ 0.000000] Kernel command line: panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 TERM=xterm guestfs_rescue=1
  202. [ 0.000000] Disabling memory control group subsystem
  203. [ 0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
  204. [ 0.000000] xsave: enabled xstate_bv 0x3, cntxt size 0x240
  205. [ 0.000000] Checking aperture...
  206. [ 0.000000] No AGP bridge found
  207. [ 0.000000] Memory: 484888k/511992k available (6109k kernel code, 392k absent, 26712k reserved, 4069k data, 1580k init)
  208. [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  209. [ 0.000000] Hierarchical RCU implementation.
  210. [ 0.000000] RCU restricting CPUs from NR_CPUS=5120 to nr_cpu_ids=1.
  211. [ 0.000000] Experimental no-CBs for all CPUs
  212. [ 0.000000] Experimental no-CBs CPUs: 0.
  213. [ 0.000000] NR_IRQS:327936 nr_irqs:256 16
  214. [ 0.000000] Console: colour *CGA 80x25
  215. [ 0.000000] console [ttyS0] enabled
  216. [ 0.000000] tsc: Detected 2933.436 MHz processor
  217. [ 0.003000] Calibrating delay loop (skipped) preset value.. 5866.87 BogoMIPS (lpj=2933436)
  218. [ 0.003518] pid_max: default: 32768 minimum: 301
  219. [ 0.004050] Security Framework initialized
  220. [ 0.005023] SELinux: Disabled at boot.
  221. [ 0.006145] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
  222. [ 0.007356] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
  223. [ 0.009156] Mount-cache hash table entries: 4096
  224. [ 0.010339] Initializing cgroup subsys memory
  225. [ 0.011025] Initializing cgroup subsys devices
  226. [ 0.012009] Initializing cgroup subsys freezer
  227. [ 0.012818] Initializing cgroup subsys net_cls
  228. [ 0.013010] Initializing cgroup subsys blkio
  229. [ 0.014009] Initializing cgroup subsys perf_event
  230. [ 0.015006] Initializing cgroup subsys hugetlb
  231. [ 0.016121] mce: CPU supports 10 MCE banks
  232. [ 0.017030] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
  233. [ 0.017030] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0
  234. [ 0.017030] tlb_flushall_shift: -1
  235. [ 0.114012] Freeing SMP alternatives: 24k freed
  236. [ 0.120456] ftrace: allocating 23404 entries in 92 pages
  237. [ 0.127452] Enabling x2apic
  238. [ 0.128000] Enabled x2apic
  239. [ 0.128007] Switched APIC routing to physical x2apic.
  240. [ 0.130823] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
  241. [ 0.131003] smpboot: CPU0: Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz (fam: 06, model: 17, stepping: 0a)
  242. [ 0.235090] Performance Events: 4-deep LBR, Core2 events, Intel PMU driver.
  243. [ 0.236784] ... version: 2
  244. [ 0.237003] ... bit width: 40
  245. [ 0.238001] ... generic registers: 2
  246. [ 0.238703] ... value mask: 000000ffffffffff
  247. [ 0.239003] ... max period: 000000007fffffff
  248. [ 0.240001] ... fixed-purpose events: 3
  249. [ 0.241002] ... event mask: 0000000700000003
  250. [ 0.245046] Brought up 1 CPUs
  251. [ 0.245614] smpboot: Total of 1 processors activated (5866.87 BogoMIPS)
  252. [ 0.247249] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
  253. [ 0.248139] devtmpfs: initialized
  254. [ 0.250253] EVM: security.selinux
  255. [ 0.250958] EVM: security.ima
  256. [ 0.251002] EVM: security.capability
  257. [ 0.253260] atomic64 test passed for x86-64 platform with CX8 and with SSE
  258. [ 0.254058] NET: Registered protocol family 16
  259. [ 0.256122] PCI: Using configuration type 1 for base access
  260. [ 0.258005] bio: create slab <bio-0> at 0
  261. [ 0.258955] ACPI: Interpreter disabled.
  262. [ 0.259044] vgaarb: loaded
  263. [ 0.260081] SCSI subsystem initialized
  264. [ 0.261035] usbcore: registered new interface driver usbfs
  265. [ 0.262009] usbcore: registered new interface driver hub
  266. [ 0.263022] usbcore: registered new device driver usb
  267. [ 0.264057] PCI: Probing PCI hardware
  268. [ 0.265020] PCI host bridge to bus 0000:00
  269. [ 0.266004] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
  270. [ 0.267003] pci_bus 0000:00: root bus resource [mem 0x00000000-0xfffffffff]
  271. [ 0.268003] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
  272. [ 0.273534] pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by PIIX4 ACPI
  273. [ 0.274018] pci 0000:00:01.3: quirk: [io 0xb100-0xb10f] claimed by PIIX4 SMB
  274. [ 0.288497] pci 0000:00:01.0: PIIX/ICH IRQ router [8086:7000]
  275. [ 0.290077] NetLabel: Initializing
  276. [ 0.290808] NetLabel: domain hash size = 128
  277. [ 0.291002] NetLabel: protocols = UNLABELED CIPSOv4
  278. [ 0.292013] NetLabel: unlabeled traffic allowed by default
  279. [ 0.294023] Switching to clocksource kvm-clock
  280. [ 0.303186] pnp: PnP ACPI: disabled
  281. [ 0.305216] NET: Registered protocol family 2
  282. [ 0.306402] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
  283. [ 0.307998] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
  284. [ 0.309476] TCP: Hash tables configured (established 4096 bind 4096)
  285. [ 0.310904] TCP: reno registered
  286. [ 0.311639] UDP hash table entries: 256 (order: 1, 8192 bytes)
  287. [ 0.312937] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
  288. [ 0.314390] NET: Registered protocol family 1
  289. [ 0.315397] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
  290. [ 0.316731] pci 0000:00:01.0: PIIX3: Enabling Passive Release
  291. [ 0.318043] pci 0000:00:01.0: Activating ISA DMA hang workarounds
  292. [ 0.319501] Unpacking initramfs...
  293. [ 0.327001] Freeing initrd memory: 3132k freed
  294. [ 0.329097] platform rtc_cmos: registered platform RTC device (no PNP device found)
  295. [ 0.331208] microcode: CPU0 sig=0x1067a, pf=0x1, revision=0x1
  296. [ 0.332743] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
  297. [ 0.334866] futex hash table entries: 256 (order: 2, 16384 bytes)
  298. [ 0.336194] Initialise system trusted keyring
  299. [ 0.337160] audit: initializing netlink socket (disabled)
  300. [ 0.338328] type=2000 audit(1426363147.313:1): initialized
  301. [ 0.360021] HugeTLB registered 2 MB page size, pre-allocated 0 pages
  302. [ 0.362702] zbud: loaded
  303. [ 0.363382] VFS: Disk quotas dquot_6.5.2
  304. [ 0.364275] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
  305. [ 0.365815] msgmni has been set to 953
  306. [ 0.366689] Key type big_key registered
  307. [ 0.368065] alg: No test for stdrng (krng)
  308. [ 0.368946] NET: Registered protocol family 38
  309. [ 0.369896] Key type asymmetric registered
  310. [ 0.370772] Asymmetric key parser 'x509' registered
  311. [ 0.371842] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
  312. [ 0.373445] io scheduler noop registered
  313. [ 0.374289] io scheduler deadline registered (default)
  314. [ 0.375410] io scheduler cfq registered
  315. [ 0.376324] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
  316. [ 0.377527] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
  317. [ 0.379058] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
  318. [ 0.402279] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
  319. [ 0.404159] Non-volatile memory driver v1.3
  320. [ 0.405065] Linux agpgart interface v0.103
  321. [ 0.406042] crash memory driver: version 1.1
  322. [ 0.406961] rdac: device handler registered
  323. [ 0.407908] hp_sw: device handler registered
  324. [ 0.408823] emc: device handler registered
  325. [ 0.409704] alua: device handler registered
  326. [ 0.410638] libphy: Fixed MDIO Bus: probed
  327. [ 0.411562] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  328. [ 0.412934] ehci-pci: EHCI PCI platform driver
  329. [ 0.413903] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  330. [ 0.415244] ohci-pci: OHCI PCI platform driver
  331. [ 0.416334] uhci_hcd: USB Universal Host Controller Interface driver
  332. [ 0.417830] usbcore: registered new interface driver usbserial
  333. [ 0.420774] usbcore: registered new interface driver usbserial_generic
  334. [ 0.422302] usbserial: USB Serial support registered for generic
  335. [ 0.424567] i8042: PNP: No PS/2 controller found. Probing ports directly.
  336. [ 0.427432] serio: i8042 KBD port at 0x60,0x64 irq 1
  337. [ 0.429068] serio: i8042 AUX port at 0x60,0x64 irq 12
  338. [ 0.431561] mousedev: PS/2 mouse device common for all mice
  339. [ 0.435581] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
  340. [ 0.443377] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
  341. [ 0.448742] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram
  342. [ 0.452290] cpuidle: using governor menu
  343. [ 0.454563] hidraw: raw HID events driver (C) Jiri Kosina
  344. [ 0.457681] usbcore: registered new interface driver usbhid
  345. [ 0.459916] usbhid: USB HID core driver
  346. [ 0.460811] drop_monitor: Initializing network drop monitor service
  347. [ 0.462259] TCP: cubic registered
  348. [ 0.462964] Initializing XFRM netlink socket
  349. [ 0.463980] NET: Registered protocol family 10
  350. [ 0.465184] NET: Registered protocol family 17
  351. [ 0.466342] Loading compiled-in X.509 certificates
  352. [ 0.467395] Loaded X.509 cert 'CentOS Linux kpatch signing key: ea0413152cde1d98ebdca3fe6f0230904c9ef717'
  353. [ 0.469492] Loaded X.509 cert 'CentOS Linux Driver update signing key: 7f421ee0ab69461574bb358861dbe77762a4201b'
  354. [ 0.472214] Loaded X.509 cert 'CentOS Linux kernel signing key: 182ebb09cd40c94ca0c3ce4ee3f71df520b4da80'
  355. [ 0.474267] registered taskstats version 1
  356. [ 0.475471] Key type trusted registered
  357. [ 0.476636] Key type encrypted registered
  358. [ 0.477640] IMA: No TPM chip found, activating TPM-bypass!
  359. [ 0.479121] rtc_cmos rtc_cmos: setting system clock to 2015-03-14 19:59:07 UTC (1426363147)
  360. [ 0.482398] Freeing unused kernel memory: 1580k freed
  361. supermin: mounting /proc
  362. supermin: uptime: 0.48 0.12
  363. supermin: ext2 mini initrd starting up: 4.1.4 zlib
  364. supermin: cmdline: panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 TERM=xterm guestfs_rescue=1
  365. supermin: mounting /sys
  366. supermin: internal insmod megaraid_sas.ko
  367. [ 0.494364] megasas: 06.700.06.00-rc1 Sat. Aug. 31 17:00:00 PDT 2013
  368. supermin: internal insmod libcrc32c.ko
  369. supermin: internal insmod crc32c-intel.ko
  370. insmod: init_module: crc32c-intel.ko: No such device
  371. supermin: internal insmod crc32-pclmul.ko
  372. [ 0.501970] PCLMULQDQ-NI instructions are not detected.
  373. insmod: init_module: crc32-pclmul.ko: No such device
  374. supermin: internal insmod crct10dif_common.ko
  375. supermin: internal insmod crct10dif-pclmul.ko
  376. insmod: init_module: crct10dif-pclmul.ko: No such device
  377. supermin: internal insmod crc-itu-t.ko
  378. supermin: internal insmod crc32.ko
  379. [ 0.511255] alg: No test for crc32 (crc32-table)
  380. supermin: internal insmod crct10dif_generic.ko
  381. supermin: internal insmod crc-t10dif.ko
  382. supermin: internal insmod crc-ccitt.ko
  383. supermin: internal insmod crc8.ko
  384. supermin: internal insmod mbcache.ko
  385. supermin: internal insmod cdrom.ko
  386. supermin: internal insmod sr_mod.ko
  387. supermin: internal insmod libata.ko
  388. supermin: internal insmod ata_piix.ko
  389. [ 0.535473] scsi0 : ata_piix
  390. [ 0.536320] scsi1 : ata_piix
  391. [ 0.536985] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc060 irq 14
  392. [ 0.538496] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc068 irq 15
  393. supermin: internal insmod sd_mod.ko
  394. supermin: internal insmod scsi_transport_spi.ko
  395. supermin: internal insmod rfkill.ko
  396. supermin: internal insmod sparse-keymap.ko
  397. supermin: internal insmod ideapad-laptop.ko
  398. insmod: init_module: ideapad-laptop.ko: No such device
  399. supermin: internal insmod virtio.ko
  400. supermin: internal insmod virtio_ring.ko
  401. supermin: internal insmod virtio-rng.ko
  402. supermin: internal insmod virtio_console.ko
  403. supermin: internal insmod virtio_blk.ko
  404. supermin: internal insmod virtio_scsi.ko
  405. supermin: internal insmod virtio_net.ko
  406. supermin: internal insmod virtio_pci.ko
  407. [ 0.745864] virtio-pci 0000:00:02.0: PCI->APIC IRQ transform: INT A -> IRQ 34
  408. [ 0.753536] scsi2 : Virtio SCSI HBA
  409. [ 0.757583] scsi 2:0:0:0: Direct-Access QEMU QEMU HARDDISK 1.5. PQ: 0 ANSI: 5
  410. [ 0.760940] virtio-pci 0000:00:03.0: PCI->APIC IRQ transform: INT A -> IRQ 35
  411. [ 0.765078] scsi 2:0:1:0: Direct-Access QEMU QEMU HARDDISK 1.5. PQ: 0 ANSI: 5
  412. [ 0.865473] sd 2:0:0:0: [sda] 37892104 512-byte logical blocks: (19.4 GB/18.0 GiB)
  413. [ 0.868890] sd 2:0:0:0: [sda] Write Protect is off
  414. [ 0.870906] sd 2:0:1:0: [sdb] 8388608 512-byte logical blocks: (4.29 GB/4.00 GiB)
  415. [ 0.874026] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  416. [ 0.877871] sd 2:0:1:0: [sdb] Write Protect is off
  417. [ 0.879958] sd 2:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  418. [ 0.884607] sda: sda1 sda2
  419. [ 0.885799] sda: p2 size 40916992 extends beyond EOD, enabling native capacity
  420. [ 0.889630] sdb: unknown partition table
  421. [ 0.892077] sda: sda1 sda2
  422. [ 0.893365] sda: p2 size 40916992 extends beyond EOD, truncated
  423. [ 0.895842] sd 2:0:1:0: [sdb] Attached SCSI disk
  424. [ 0.898721] sd 2:0:0:0: [sda] Attached SCSI disk
  425. supermin: internal insmod virtio_balloon.ko
  426. supermin: internal insmod jbd2.ko
  427. supermin: internal insmod ext4.ko
  428. supermin: picked /sys/block/sdb/dev as root device
  429. supermin: creating /dev/root as block special 8:16
  430. supermin: mounting new root on /root
  431. [ 0.967067] EXT4-fs (sdb): mounting ext2 file system using the ext4 subsystem
  432. [ 0.997370] EXT4-fs (sdb): mounted filesystem without journal. Opts:
  433. supermin: chroot
  434. [ 1.276308] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input1
  435. Starting /init script ...
  436. [ 2.744777] systemd-udevd[83]: starting version 208
  437. [ 3.068676] input: PC Speaker as /devices/platform/pcspkr/input/input2
  438. [ 3.114994] ACPI Exception: AE_BAD_PARAMETER, Thread 494144352 could not acquire Mutex [0x1] (20130517/utmutex-285)
  439. [ 3.121318] piix4_smbus 0000:00:01.3: SMBus Host Controller at 0xb100, revision 0
  440. [ 3.233338] Error: Driver 'pcspkr' is already registered, aborting...
  441. [/usr/lib/tmpfiles.d/systemd.conf:26] Failed to replace specifiers: /var/log/journal/%m
  442. [/usr/lib/tmpfiles.d/systemd.conf:28] Failed to replace specifiers: /run/log/journal/%m
  443. Cannot find device "eth0"
  444. Cannot find device "eth0"
  445. RTNETLINK answers: Network is unreachable
  446. mdadm: No arrays found in config file or automatically
  447. [ 4.790250] device-mapper: uevent: version 1.0.3
  448. [ 4.793599] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: dm-devel@redhat.com
  449. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  450. WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning.
  451. Reading all physical volumes. This may take a while...
  452. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  453. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  454. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  455. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  456. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  457. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  458. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  459. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  460. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  461. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  462. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  463. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  464. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  465. Found volume group "vg_centos6" using metadata type lvm2
  466. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  467. WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning.
  468. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  469. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  470. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  471. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  472. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  473. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  474. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  475. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  476. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  477. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  478. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  479. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  480. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  481. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  482. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  483. /run/lvm/lvmetad.socket: connect failed: No such file or directory
  484. [ 5.197281] bio: create slab <bio-1> at 1
  485. [ 5.203102] device-mapper: table: 252:1: sda2 too small for target: start=36784128, len=4128768, dev_size=36866056
  486. device-mapper: resume ioctl on failed: Invalid argument
  487. Unable to resume vg_centos6-lv_swap (252:1)
  488. 2 logical volume(s) in volume group "vg_centos6" now active
  489. /init: line 122: ldmtool: command not found
  490.  
  491. ------------------------------------------------------------
  492.  
  493. Welcome to virt-rescue, the libguestfs rescue shell.
  494.  
  495. Note: The contents of / are the rescue appliance.
  496. You have to mount the guest's partitions under /sysroot
  497. before you can examine them.
  498.  
  499. bash: cannot set terminal process group (-1): Inappropriate ioctl for device
  500. bash: no job control in this shell
  501. ><rescue> mkdir /run/lvm
  502. ><rescue> lvmetad
  503. ><rescue> pvscan
  504. PV /dev/sda2 VG vg_centos6 lvm2 [19.51 GiB / 0 free]
  505. Total: 1 [19.51 GiB] / in use: 1 [19.51 GiB] / in no VG: 0 [0 ]
  506. ><rescue> lvs
  507. LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert
  508. lv_root vg_centos6 -wi-a----- 17.54g
  509. lv_swap vg_centos6 -wi-s----- 1.97g
  510. ><rescue> lvremove /dev/vg_centos6/lv_swap
  511. Do you really want to remove active logical volume lv_swap? [y/n]: y
  512. Logical volume "lv_swap" successfully removed
  513. ><rescue> resize2fs /dev/vg_centos6/lv_root 10G
  514. resize2fs 1.42.9 (28-Dec-2013)
  515. Please run 'e2fsck -f /dev/vg_centos6/lv_root' first.
  516.  
  517. ><rescue> e2fsck -f /dev/vg_centos6/lv_root
  518. e2fsck 1.42.9 (28-Dec-2013)
  519. Pass 1: Checking inodes, blocks, and sizes
  520. Pass 2: Checking directory structure
  521. Pass 3: Checking directory connectivity
  522. Pass 4: Checking reference counts
  523. Pass 5: Checking group summary information
  524. /dev/vg_centos6/lv_root: 18682/1150560 files (0.3% non-contiguous), 331350/4597760 blocks
  525. ><rescue> resize2fs /dev/vg_centos6/lv_root 10G
  526. resize2fs 1.42.9 (28-Dec-2013)
  527. Resizing the filesystem on /dev/vg_centos6/lv_root to 2621440 (4k) blocks.
  528. The filesystem on /dev/vg_centos6/lv_root is now 2621440 blocks long.
  529.  
  530. ><rescue> lvresize -L11G /dev/vg_centos6/lv_root
  531. WARNING: Reducing active logical volume to 11.00 GiB
  532. THIS MAY DESTROY YOUR DATA (filesystem etc.)
  533. Do you really want to reduce lv_root? [y/n]: y
  534. Reducing logical volume lv_root to 11.00 GiB
  535. Logical volume lv_root successfully resized
  536. ><rescue> resize2fs /dev/vg_centos6/lv_root
  537. resize2fs 1.42.9 (28-Dec-2013)
  538. Resizing the filesystem on /dev/vg_centos6/lv_root to 2883584 (4k) blocks.
  539. The filesystem on /dev/vg_centos6/lv_root is now 2883584 blocks long.
  540.  
  541. ><rescue> lvcreate -L1G -nlv_swap vg_centos6
  542. Logical volume "lv_swap" created
  543. ><rescue> mkswap /dev/vg_centos6/lv_swap
  544. Setting up swapspace version 1, size = 1048572 KiB
  545. no label, UUID=d45bc1b9-cc01-48d7-93bf-884a98eaa712
  546. ><rescue> lvs
  547. LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert
  548. lv_root vg_centos6 -wi-a----- 11.00g
  549. lv_swap vg_centos6 -wi-a----- 1.00g
  550. ><rescue>
  551. ><rescue> exit
  552.  
  553. virt-rescue: Syncing the disk now before exiting ...
  554.  
  555. Rebooting.
  556. [ 204.294382] Unregister pv shared memory for cpu 0
  557. [ 204.299158] sd 2:0:1:0: [sdb] Synchronizing SCSI cache
  558. [ 204.304791] sd 2:0:0:0: [sda] Synchronizing SCSI cache
  559. [ 204.391487] Restarting system.
  560. [ 204.394490] reboot: machine restart
  561. [root@topo ~]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement