hammer_lvm_stripe.sh problems

Zenny garbytrash at gmail.com
Mon Feb 27 23:30:58 PST 2012


No sleep till early morning (~3 am) to fix the problem made me missed
the log. Please find attached:

udevd: /dev/udev: Device busy
  Volume group "main" not found
16+0 records in
16+0 records out
524288 bytes transferred in 0.044318 secs (11830147 bytes/sec)
fdisk: invalid fdisk partition table found
******* Working on device /dev/ar0 *******
Warning: ending cylinder wraps, using all 1's
  No matching physical volumes found
16+0 records in
16+0 records out
524288 bytes transferred in 0.052961 secs (9899535 bytes/sec)
fdisk: invalid fdisk partition table found
******* Working on device /dev/ar1 *******
Warning: ending cylinder wraps, using all 1's
  No matching physical volumes found
  Physical volume "/dev/ar0s1d" successfully created
  Physical volume "/dev/ar1s1d" successfully created
  Found duplicate PV F26pYM9vmgfsudQXPcH0EkPNGgadV14q: using
/dev/ad4s1d not /dev/ar0s1d
  Found duplicate PV F26pYM9vmgfsudQXPcH0EkPNGgadV14q: using
/dev/ad6s1d not /dev/ad4s1d
  Found duplicate PV f1v5yd68IIK2AiQrijKu9je8gQNwydIF: using
/dev/ad8s1d not /dev/ar1s1d
  Found duplicate PV f1v5yd68IIK2AiQrijKu9je8gQNwydIF: using
/dev/ad10s1d not /dev/ad8s1d
  PV /dev/ad6s1d                       lvm2 [1.82 TiB]
  PV /dev/ad10s1d                      lvm2 [1.82 TiB]
  Total: 2 [3.64 TiB] / in use: 0 [0   ] / in no VG: 2 [3.64 TiB]
  Found duplicate PV F26pYM9vmgfsudQXPcH0EkPNGgadV14q: using
/dev/ad4s1d not /dev/ar0s1d
  Found duplicate PV F26pYM9vmgfsudQXPcH0EkPNGgadV14q: using
/dev/ad6s1d not /dev/ad4s1d
  Found duplicate PV f1v5yd68IIK2AiQrijKu9je8gQNwydIF: using
/dev/ad8s1d not /dev/ar1s1d
  Found duplicate PV f1v5yd68IIK2AiQrijKu9je8gQNwydIF: using
/dev/ad10s1d not /dev/ad8s1d
  Found duplicate PV F26pYM9vmgfsudQXPcH0EkPNGgadV14q: using
/dev/ar0s1d not /dev/ad6s1d
  Found duplicate PV f1v5yd68IIK2AiQrijKu9je8gQNwydIF: using
/dev/ar1s1d not /dev/ad10s1d
  Volume group "main" successfully created
  Found duplicate PV F26pYM9vmgfsudQXPcH0EkPNGgadV14q: using
/dev/ad4s1d not /dev/ar0s1d
  Found duplicate PV F26pYM9vmgfsudQXPcH0EkPNGgadV14q: using
/dev/ad6s1d not /dev/ad4s1d
  Found duplicate PV f1v5yd68IIK2AiQrijKu9je8gQNwydIF: using
/dev/ad8s1d not /dev/ar1s1d
  Found duplicate PV f1v5yd68IIK2AiQrijKu9je8gQNwydIF: using
/dev/ad10s1d not /dev/ad8s1d
  Reading all physical volumes.  This may take a while...
  Found volume group "main" using metadata type lvm2
  Found duplicate PV F26pYM9vmgfsudQXPcH0EkPNGgadV14q: using
/dev/ad4s1d not /dev/ar0s1d
  Found duplicate PV F26pYM9vmgfsudQXPcH0EkPNGgadV14q: using
/dev/ad6s1d not /dev/ad4s1d
  Found duplicate PV f1v5yd68IIK2AiQrijKu9je8gQNwydIF: using
/dev/ad8s1d not /dev/ar1s1d
  Found duplicate PV f1v5yd68IIK2AiQrijKu9je8gQNwydIF: using
/dev/ad10s1d not /dev/ad8s1d
  WARNING: "lv_swap" not zeroed
  Logical volume "lv_swap" created
  Found duplicate PV F26pYM9vmgfsudQXPcH0EkPNGgadV14q: using
/dev/ad4s1d not /dev/ar0s1d
  Found duplicate PV F26pYM9vmgfsudQXPcH0EkPNGgadV14q: using
/dev/ad6s1d not /dev/ad4s1d
  Found duplicate PV f1v5yd68IIK2AiQrijKu9je8gQNwydIF: using
/dev/ad8s1d not /dev/ar1s1d
  Found duplicate PV f1v5yd68IIK2AiQrijKu9je8gQNwydIF: using
/dev/ad10s1d not /dev/ad8s1d
  ACTIVE            '/dev/main/lv_swap' [3.93 GiB] inherit
  Found duplicate PV F26pYM9vmgfsudQXPcH0EkPNGgadV14q: using
/dev/ad4s1d not /dev/ar0s1d
  Found duplicate PV F26pYM9vmgfsudQXPcH0EkPNGgadV14q: using
/dev/ad6s1d not /dev/ad4s1d
  Found duplicate PV f1v5yd68IIK2AiQrijKu9je8gQNwydIF: using
/dev/ad8s1d not /dev/ar1s1d
  Found duplicate PV f1v5yd68IIK2AiQrijKu9je8gQNwydIF: using
/dev/ad10s1d not /dev/ad8s1d
  WARNING: "lv_root" not zeroed
  Logical volume "lv_root" created
newfs: /dev/da10s1a: No such file or directory


On 2/28/12, Zenny <garbytrash at gmail.com> wrote:
> I am trying to install hammer in two RAID1 arrays of two 2 TB disk
> each created with 'natacontrol' (ar0 and ar1) and a usb disk (da10 for
> /boot) using the hammer_lvm_stripe.sh script
> (http://gitweb.dragonflybsd.org/dragonfly.git/blob/HEAD:/share/examples/rconfig/hammer_lvm_stripe.sh)
>
> But I am getting errors as follows. I have manually removed lv_root
> and lv_swap (using lvremove), vgremove to remove the 'main' volume and
> also pvremove to remove /dev/ar0s1d and /dev/ar1s1d as well as
> /dev/adXs1d (X is an even number between 4-10).
>
> But the installation failed. When I installed without a separate boot
> drive, the installation went successful, but when rebooted, it simply
> failed to boot from HDD.
>
> Any help? Thanks!
>





More information about the Users mailing list