auto-mount prevent formating on testboot and testrootfs when image deployment

Bug #821385 reported by Spring Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA Dispatcher
Fix Released
Medium
Spring Zhang

Bug Description

If master image is Ubuntu LEB, it will mount testboot and testrootfs when bootup. It will prevent format during new image deployment.

Log:
 min/avg/max/mdev = 102.841/102.841/102.841/0.000 ms
root@master:~# mkfs.ext3 -q /dev/disk/by-label/testrootfs -L testrootfs
/dev/disk/by-label/testrootfs is mounted; will not make a filesystem here!
root@master:~# udevadm trigger
root@master:~# mkdir -p /mnt/root
root@master:~# mount /dev/disk/by-label/testrootfs /mnt/root
root@master:~# mxc_ipu mxc_ipu: Channel already disabled 9
mxc_ipu mxc_ipu: Channel already uninitialized 9
 --numeric-owner -C /mnt/root -xzf -s/tmp/tmpx8WE8u/root.tgz |tar
root@master:~# echo linaro > /mnt/root/etc/hostname
root@master:~# umount /mnt/root
root@master:~# mkfs.vfat /dev/disk/by-label/testboot -n testboot
mkfs.vfat 3.0.9 (31 Jan 2010)
mkfs.vfat: unable to open /dev/disk/by-label/testboot
root@master:~# udevadm trigger

Related branches

Revision history for this message
Spring Zhang (qzhang) wrote :

Adding umount command before deployment will resolve it.

Changed in lava-dispatcher:
assignee: nobody → Spring Zhang (qzhang)
importance: Undecided → Medium
status: New → Confirmed
milestone: none → 2011.08
Paul Larson (pwlars)
Changed in lava-dispatcher:
status: Confirmed → Fix Committed
Paul Larson (pwlars)
Changed in lava-dispatcher:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.