RE: SV: cannot mount disk with hammer file system

2011-02-24 Thread Úlfar Ellenarson
Hi Alex.

Thanks for all the help.  I managed to solve my boot problem.  It was a matter 
of disk serial numbers as was mentioned in prior emails.  I am more than 
willing to share my solution and would think it would be a good addition to the 
dragonflybsd site.  It could be added as a faq or howto about moving hard 
drives between servers or how to migrate dragonfly bsd from vmware to 
virtualbox.  However, I want to thank everyone who took time to answer my 
enquiry.

Regards,
Ulfar

-Original Message-
From: Alex Hornung [mailto:ahorn...@gmail.com] 
Sent: Wednesday, February 23, 2011 10:26 PM
To: Úlfar Ellenarson
Cc: users@crater.dragonflybsd.org
Subject: Re: SV: cannot mount disk with hammer file system

Thanks, but serno.jpg is missing the most important bit; the window had
a scrollbar and the last bit of every line was cut.

Can you please resend without the scrollbar?

Regards,
Alex

On 23/02/11 21:31, Úlfar Ellenarson wrote:
 Hi Alex.
  
 Here is a screenshot of
 /mnt/boot/loader.conf/mnt/dev/serno/mnt/dev/ad1s* and /mnt/etc/fstab
 sent as an attachment.
  
  
  
  
 
 *Frá:* Alex Hornung [ahorn...@gmail.com]
 *Sent:* 23. febrúar 2011 13:44
 *Viðtakandi:* Úlfar Ellenarson
 *Afrit:* users@crater.dragonflybsd.org
 *Efni:* Re: cannot mount disk with hammer file system
 
 The issue boils down to VirtualBox not having the same serial numbers
 for disks as vmware does. You should be able to figure out which one the
 right one is by listing the da* and ad* devices in /dev from a live CD.
 Alternatively, if VirtualBox supports disk serial numbers, doing ls
 /dev/serno will yield the information, as others have told you.
 
 By the way, if you have attached screenshots, they definitely haven't
 arrived here Can you please repost them somehow, possibly on imageshack
 or so and providing a link?
 
 Kind Regards,
 Alex Hornung
 
 On 23 February 2011 12:27, Úlfar Ellenarson u...@applicon.is
 mailto:u...@applicon.is wrote:
 
 HI Antonio.
 
  
 
 Thank you for your posts and help.  I have taken a screenshot of the
 mounted etc/fstab or better said /mnt/etc/fstab and I have also ls
 -l /mnt/dev/serno.  The only thing is I have not looked into the
 loader.conf which I reckon is mostly likely either in /boot or
 /etc.  I think the problem is that dragonflybsd is not creating the
 devices upon boot because I have moved the system from vmware
 workstation 6.5 to virtualbox 4.04.  I have looked into the man 8
 boot page, however there is considerably less information about
 dragonfly bsd on the web than linux.  I have converted linux
 physical machines using rsync, cpio, and netcat to vmware, but I
 have little experience with dragonfly.
 
  
 
 Kind regards,
 
 Úlfar Ellenson
 
  
 
 *From:*Antonio Huete Jimenez [mailto:ahuete.de...@gmail.com
 mailto:ahuete.de...@gmail.com]
 *Sent:* Wednesday, February 23, 2011 12:14 PM
 *To:* Úlfar Ellenarson
 *Cc:* users@crater.dragonflybsd.org
 mailto:users@crater.dragonflybsd.org
 *Subject:* Re: cannot mount disk with hammer file system
 
  
 
 Hi Úlfar,
 
 Boot the livecd and mount the disk where DFly is installed in, then
 provide this:
 
 - Do a 'ls -l /dev/serno'
 - fstab of the installed system (not the LiveCD)
 - loader.conf from the installed system (it should be in the boot
 directory)
 
 Thanks,
 Antonio Huete
 
 2011/2/23 Úlfar Ellenarson u...@applicon.is mailto:u...@applicon.is
 
 Added information regarding boot problem.
 
  
 
 The message upon boot is:
 
 Mounting root from hammer:serno/1.s1d
 
 tryroot serno/01.s1d
 
 no disk named 'serno/001.s1d'
 
 hammer_mountroot: can't find devvp
 
 boot mount failed:  6
 
  
 
 mountroot
 
  
 
  
 
  
 
 *From:*users-err...@crater.dragonflybsd.org
 mailto:users-err...@crater.dragonflybsd.org
 [mailto:users-err...@crater.dragonflybsd.org
 mailto:users-err...@crater.dragonflybsd.org] *On Behalf Of *Úlfar
 Ellenarson
 *Sent:* Tuesday, February 22, 2011 12:35 PM
 *To:* users@crater.dragonflybsd.org
 mailto:users@crater.dragonflybsd.org
 *Subject:* cannot mount disk with hammer file system
 
  
 
 Hi.
 
  
 
 My first time posting on this list.   My problem in a nutshell is I
 installed dragonfly bsd 2.8 in vmware workstation.  I reinstalled
 the host system that vmware workstation was on and decided on using
 virtualbox.  I imported my dragonfly bsd vmware workstatation vmdk
 files into virtualbox.  Upon boot in virtualbox I run into the
 problem of mounting the disk.  I am prompted at the boot prompt to
 detect the disk that the system resides on.  I have tried
 hammer:ad0s1, hammer:ad0s1a, hammer:ad0s1d and just ad0s1.  I

RE: SV: cannot mount disk with hammer file system

2011-02-24 Thread Justin C. Sherrill
On Thu, February 24, 2011 5:56 am, Úlfar Ellenarson wrote:
 Hi Alex.

 Thanks for all the help.  I managed to solve my boot problem.  It was a
 matter of disk serial numbers as was mentioned in prior emails.  I am more
 than willing to share my solution and would think it would be a good
 addition to the dragonflybsd site.  It could be added as a faq or howto
 about moving hard drives between servers or how to migrate dragonfly bsd
 from vmware to virtualbox.  However, I want to thank everyone who took
 time to answer my enquiry.

The dragonflybsd.org site is a wiki, so please do add it to the FAQ - we
should probably have more on there about virtual environments, since
Virtualbox seems to trip people up on every other release.



Re: SV: cannot mount disk with hammer file system

2011-02-23 Thread Alex Hornung
Thanks, but serno.jpg is missing the most important bit; the window had
a scrollbar and the last bit of every line was cut.

Can you please resend without the scrollbar?

Regards,
Alex

On 23/02/11 21:31, Úlfar Ellenarson wrote:
 Hi Alex.
  
 Here is a screenshot of
 /mnt/boot/loader.conf/mnt/dev/serno/mnt/dev/ad1s* and /mnt/etc/fstab
 sent as an attachment.
  
  
  
  
 
 *Frá:* Alex Hornung [ahorn...@gmail.com]
 *Sent:* 23. febrúar 2011 13:44
 *Viðtakandi:* Úlfar Ellenarson
 *Afrit:* users@crater.dragonflybsd.org
 *Efni:* Re: cannot mount disk with hammer file system
 
 The issue boils down to VirtualBox not having the same serial numbers
 for disks as vmware does. You should be able to figure out which one the
 right one is by listing the da* and ad* devices in /dev from a live CD.
 Alternatively, if VirtualBox supports disk serial numbers, doing ls
 /dev/serno will yield the information, as others have told you.
 
 By the way, if you have attached screenshots, they definitely haven't
 arrived here Can you please repost them somehow, possibly on imageshack
 or so and providing a link?
 
 Kind Regards,
 Alex Hornung
 
 On 23 February 2011 12:27, Úlfar Ellenarson u...@applicon.is
 mailto:u...@applicon.is wrote:
 
 HI Antonio.
 
  
 
 Thank you for your posts and help.  I have taken a screenshot of the
 mounted etc/fstab or better said /mnt/etc/fstab and I have also ls
 –l /mnt/dev/serno.  The only thing is I have not looked into the
 loader.conf which I reckon is mostly likely either in /boot or
 /etc.  I think the problem is that dragonflybsd is not creating the
 devices upon boot because I have moved the system from vmware
 workstation 6.5 to virtualbox 4.04.  I have looked into the man 8
 boot page, however there is considerably less information about
 dragonfly bsd on the web than linux.  I have converted linux
 physical machines using rsync, cpio, and netcat to vmware, but I
 have little experience with dragonfly.
 
  
 
 Kind regards,
 
 Úlfar Ellenson
 
  
 
 *From:*Antonio Huete Jimenez [mailto:ahuete.de...@gmail.com
 mailto:ahuete.de...@gmail.com]
 *Sent:* Wednesday, February 23, 2011 12:14 PM
 *To:* Úlfar Ellenarson
 *Cc:* users@crater.dragonflybsd.org
 mailto:users@crater.dragonflybsd.org
 *Subject:* Re: cannot mount disk with hammer file system
 
  
 
 Hi Úlfar,
 
 Boot the livecd and mount the disk where DFly is installed in, then
 provide this:
 
 - Do a 'ls -l /dev/serno'
 - fstab of the installed system (not the LiveCD)
 - loader.conf from the installed system (it should be in the boot
 directory)
 
 Thanks,
 Antonio Huete
 
 2011/2/23 Úlfar Ellenarson u...@applicon.is mailto:u...@applicon.is
 
 Added information regarding boot problem.
 
  
 
 The message upon boot is:
 
 Mounting root from hammer:serno/1.s1d
 
 tryroot serno/01.s1d
 
 no disk named 'serno/001.s1d'
 
 hammer_mountroot: can't find devvp
 
 boot mount failed:  6
 
  
 
 mountroot
 
  
 
  
 
  
 
 *From:*users-err...@crater.dragonflybsd.org
 mailto:users-err...@crater.dragonflybsd.org
 [mailto:users-err...@crater.dragonflybsd.org
 mailto:users-err...@crater.dragonflybsd.org] *On Behalf Of *Úlfar
 Ellenarson
 *Sent:* Tuesday, February 22, 2011 12:35 PM
 *To:* users@crater.dragonflybsd.org
 mailto:users@crater.dragonflybsd.org
 *Subject:* cannot mount disk with hammer file system
 
  
 
 Hi.
 
  
 
 My first time posting on this list.   My problem in a nutshell is I
 installed dragonfly bsd 2.8 in vmware workstation.  I reinstalled
 the host system that vmware workstation was on and decided on using
 virtualbox.  I imported my dragonfly bsd vmware workstatation vmdk
 files into virtualbox.  Upon boot in virtualbox I run into the
 problem of mounting the disk.  I am prompted at the boot prompt to
 detect the disk that the system resides on.  I have tried
 hammer:ad0s1, hammer:ad0s1a, hammer:ad0s1d and just ad0s1.  I am
 however not able to boot the system.  I have also booted from the
 live iso image and mounted the system manually into /mnt using
 mount_hammer /dev/ad0s1a /mnt and took a screenshot of /etc/fstab. 
 I however ask if there is a simple way to fix my mount problem.  Any
 information needed in regards to solving this problem will be gladly
 appended.
 
  
 
  
 
  
 
 *kær kveðju/kind regards,*
 
 ** 
 
 *Úlfar Ellenarson*
 SAP ráðgjafi / SAP Consultant
 
 cid:image001.jpg@01CAE862.EFF59A90
 Borgartúni 37
 105 Reykjavík, Ísland
 *T:  *+354 563 6226
 *E: *u...@applicon.is mailto:h...@applicon.is
 *W:*www.applicon.is http://www.applicon.is/