remove swap partion after physical machine converted into vm

2014-08-27 Thread Markus Rosjat

Hello,

I simply dd'ed the HDD of our Server and converted the image to a 
virtual disk, I created a VM ans fired it up. Of course I get the 
information that the softraid can't find another disk but it's not 
really needed anymore. The problem I have now is with the swapmount for 
the 2nd (not present) HDD. I just get into singleuser mode can exit it 
and then the machine just boots up as expected. For convinience it would 
be nice to skip the part with the singleuser mode. So is there a way to 
remove the swap partion or remove the softraid without data loss?


Regards

Markus

--
Markus Rosjatfon: +49 351 8107223mail: ros...@ghweb.de

G+H Webservice GbR Gorzolla, Herrmann
Königsbrücker Str. 70, 01099 Dresden

http://www.ghweb.de
fon: +49 351 8107220   fax: +49 351 8107227

Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss! Before you 
print it, think about your responsibility and commitment to the ENVIRONMENT



Re: remove swap partion after physical machine converted into vm

2014-08-27 Thread Josh Grosse

On 2014-08-27 05:15, Markus Rosjat wrote:

Hello,

I simply dd'ed the HDD of our Server and converted the image to a
virtual disk, I created a VM ans fired it up. Of course I get the
information that the softraid can't find another disk but it's not
really needed anymore. The problem I have now is with the swapmount
for the 2nd (not present) HDD. I just get into singleuser mode can
exit it and then the machine just boots up as expected. For
convinience it would be nice to skip the part with the singleuser
mode. So is there a way to remove the swap partion or remove the
softraid without data loss?

Regards

Markus


Markus,

With this minimal information, I would guess that your issue is/are
non-existent partitions defined in your /etc/fstab configuration file.

If that guess is correct, you will find the configuration definitions in
the fstab(5) man page, and additional guidance on disk configuration
in FAQ 14.

If you want better information, post more information.  The more 
detailed

a problem report is, the more accurate and helpful responses will be.

See http://www.openbsd.org/report.html and FAQ 2.4



Re: remove swap partion after physical machine converted into vm

2014-08-27 Thread Markus Rosjat

Hi Josh,

thx for the fast reply I will check the fstab out it may solve the problem

regards

Markus


Am 27.08.2014 13:58, schrieb Josh Grosse:

On 2014-08-27 05:15, Markus Rosjat wrote:

Hello,

I simply dd'ed the HDD of our Server and converted the image to a
virtual disk, I created a VM ans fired it up. Of course I get the
information that the softraid can't find another disk but it's not
really needed anymore. The problem I have now is with the swapmount
for the 2nd (not present) HDD. I just get into singleuser mode can
exit it and then the machine just boots up as expected. For
convinience it would be nice to skip the part with the singleuser
mode. So is there a way to remove the swap partion or remove the
softraid without data loss?

Regards

Markus


Markus,

With this minimal information, I would guess that your issue is/are
non-existent partitions defined in your /etc/fstab configuration file.

If that guess is correct, you will find the configuration definitions in
the fstab(5) man page, and additional guidance on disk configuration
in FAQ 14.

If you want better information, post more information.  The more detailed
a problem report is, the more accurate and helpful responses will be.

See http://www.openbsd.org/report.html and FAQ 2.4



--
Markus Rosjatfon: +49 351 8107223mail: ros...@ghweb.de

G+H Webservice GbR Gorzolla, Herrmann
Königsbrücker Str. 70, 01099 Dresden

http://www.ghweb.de
fon: +49 351 8107220   fax: +49 351 8107227

Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss! Before you 
print it, think about your responsibility and commitment to the ENVIRONMENT