Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
swapon: /dev/hda2: Device or resource busy
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Louisdor
Veteran
Veteran


Joined: 14 Dec 2003
Posts: 1231
Location: im Brandenburgischen

PostPosted: Sun Nov 07, 2004 5:12 pm    Post subject: swapon: /dev/hda2: Device or resource busy Reply with quote

Hi!

Und, ein neues Problem beim Booten:

Code:
* Checking all filesystems...
/dev/hda1: clean, 52/14056 files, 16860/56196 blocks (check in 2 mounts)
* Activating (possibly) more swap...                                                        [*]
swapon: /dev/hda2: Device or resource busy                                          [!!]
Wieso ist denn die Partition für den Swap bereits "beschäftigt" ?

Ein swapon /dev/hda2 nach dem Booten aktiviert aber sofort die Swap Partition.

Code:
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.13 2003/07/17 19:55:18 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.

# <fs>                  <mountpoint>    <type>          <opts>                  <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1               /boot           ext2            noauto,noatime                  1 1
/dev/hda3               /               reiserfs        noatime                         0 0
/dev/hda2               none            swap            sw                              0 0
/dev/hdb1               /Music_01       reiserfs        user                            0 0
/dev/hda4               /Music_02       xfs             user                            0 0
/dev/hdc                /mnt/dvd        iso9660         noauto,ro,user                  0 0
/dev/hdd                /mnt/cdrw       iso9660         noauto,user                     0 0
/dev/sda1               /mnt/usbdrive   auto            noauto,user
/dev/sr1                /mnt/cdrw       auto            user,defaults,noauto,ro,exec    0 0
/dev/dvd0               /mnt/dvd        iso9660         noauto,ro                       0 0

# NOTE: The next line is critical for boot!
none                    /proc           proc            defaults                        0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

# none                  /dev/shm        tmpfs           defaults                        0 0

Die habe ich von Anfang so und ohne Probleme, auch nie nicht von etc-update ändern lassen!
Nur den "Brenner Kram" habe ich experimentell gerade da drin. ...
_________________
"Ich bin ich."
Back to top
View user's profile Send private message
EnricoHorn
Apprentice
Apprentice


Joined: 23 Apr 2003
Posts: 165
Location: Koenigsee, Thuringia, Germany

PostPosted: Sun Nov 07, 2004 6:27 pm    Post subject: Reply with quote

Also ich hab in meiner fstab noch folgendes:
Code:

sys                     /sys            sysfs           noauto                  0 0

Sollte man wohl im Zusammenhang mit dem 2.6-er Kernel haben.
Back to top
View user's profile Send private message
CHs
n00b
n00b


Joined: 17 Oct 2004
Posts: 71

PostPosted: Sun Nov 07, 2004 6:35 pm    Post subject: Reply with quote

Ev.: https://forums.gentoo.org/viewtopic.php?t=243224 und https://bugs.gentoo.org/show_bug.cgi?id=69162
Back to top
View user's profile Send private message
Louisdor
Veteran
Veteran


Joined: 14 Dec 2003
Posts: 1231
Location: im Brandenburgischen

PostPosted: Sun Nov 07, 2004 6:45 pm    Post subject: Reply with quote

CHs wrote:
Ev.: https://forums.gentoo.org/viewtopic.php?t=243224 und https://bugs.gentoo.org/show_bug.cgi?id=69162
Na denn, vielen Dank .... Also, mache ich keinen Reboot mehr, erst mal, solange es geht!? ;-)
_________________
"Ich bin ich."
Back to top
View user's profile Send private message
Louisdor
Veteran
Veteran


Joined: 14 Dec 2003
Posts: 1231
Location: im Brandenburgischen

PostPosted: Sun Nov 07, 2004 7:16 pm    Post subject: Reply with quote

So, das mit dem swap hat sich erst mal erledigt.
Irgendwas oder irgendwer versucht den swap ein zweites Mal zu aktivieren, beim booten.
Daher die Meldung, weil swap vorher schon regulär schon aktiviert wurde.
Also stört es nicht wirklich; vielleicht war es auch schon vorher so!?
_________________
"Ich bin ich."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum