Netboot Partitionierungsfehler

Antworten
limerickR
Beiträge: 1
Registriert: 27 Okt 2011, 12:35

Netboot Partitionierungsfehler

Beitrag von limerickR »

Hallo,

seit ca: 1-2 Wochen habe ich das Problem, wenn ich eine neue Netbootinstallation mit Win7 initiere, bricht das setup im bei der Partionerung ab und gibt mir die Fehlermeldung =>

BLKRRPART: Device or resource busy
This disk is currently in use - repartitioning is probably a bad idea.
Umount all file systems, and swapoff all swap partitions on this disk.
Use the --no-reread flag to suppress this check.
Use the --force flag to overrule all checks. (master.py|1432)"

Nun das Problem hatte ich schonmal, als ich die einzelnen Produkte von Opsi via opsi-package-updater -i upgedated hab, zur damaligen Lösung half die neue Boot-Image installation.
Zurzeit arbeite ich aber bereits mit der neusten Version von Boot-image.

Meine installierten Produkte:

Code: Alles auswählen

opsi-atftpd                         0.7.dfsg-1.4                 
opsi-configed                       4.0.1.12-1                   
opsi-depotserver                    4.0.1.10-1                   
opsi-linux-bootimage                20110829-1                  
opsi-utils                          4.0.1.14-1                   
opsiconfd                           4.0.1.9-3                    
opsipxeconfd                        4.0.1.4-1                    
python-opsi                         4.0.1.28-1 

Das Problem im Log konnte ich identifizieren. Komischerweise will Opsi eine 4. Partionen anlegen und kann diese nicht finden. Eigenlich legt er ja, wenn Windows-Partition !=100%,3 Partitionen an.(Windows, Data, Winpe). An den setup.ty und anderen wurde nichts geändert. Auch tritt das besagte Problem nur dann auf, wenn es eine DATEN-Partition geben soll. Es wurden keine updates oder der gleichen vorgenommen, nur ein Symlink vom depot wurde auf ein anderes Verzeichnis umgebogen. Danach hat aber auch alles einwandfrei funktioniert.

Fehlermeldung-Log:

Code: Alles auswählen

Total cylinders of disk '/dev/sda': 9729, 8225280 bytes per cylinder (Posix.py|1178)
[7] [Okt 27 10:27:44] Partition found =>>> number: 1, start: 0 MB (0 cyl), end: 34161 MB (4354 cyl), size: 34161 MB (4355 cyl), type: 7, fs: ntfs, boot: False (Posix.py|1214)
[7] [Okt 27 10:27:44] Waiting for device '/dev/sda1' to appear (Posix.py|1217)
[7] [Okt 27 10:27:44] Device '/dev/sda1' found (Posix.py|1225)
[7] [Okt 27 10:27:44] Partition found =>>> number: 2, start: 34161 MB (4355 cyl), end: 38162 MB (4864 cyl), size: 4000 MB (510 cyl), type: c, fs: fat32, boot: True (Posix.py|1214)
[7] [Okt 27 10:27:44] Waiting for device '/dev/sda2' to appear (Posix.py|1217)
[7] [Okt 27 10:27:44] Device '/dev/sda2' found (Posix.py|1225)
[6] [Okt 27 10:27:44] Executing: /sbin/sfdisk -uS -l /dev/sda (Posix.py|660)
[6] [Okt 27 10:27:44] Using encoding 'ANSI_X3.4-1968' (Posix.py|691)
[7] [Okt 27 10:27:44] >>>  (Posix.py|741)
[7] [Okt 27 10:27:44] >>> Disk /dev/sda: 9729 cylinders, 255 heads, 63 sectors/track (Posix.py|741)
[7] [Okt 27 10:27:44] >>> Units = sectors of 512 bytes, counting from 0 (Posix.py|741)
[7] [Okt 27 10:27:44] >>>  (Posix.py|741)
[7] [Okt 27 10:27:44] >>>    Device Boot    Start       End   #sectors  Id  System (Posix.py|741)
[7] [Okt 27 10:27:44] >>> /dev/sda1            63  69963074   69963012   7  HPFS/NTFS (Posix.py|741)
[7] [Okt 27 10:27:44] >>> /dev/sda2   *  69963075  78156224    8193150   c  W95 FAT32 (LBA) (Posix.py|741)
[7] [Okt 27 10:27:44] >>> /dev/sda3             0         -          0   0  Empty (Posix.py|741)
[7] [Okt 27 10:27:44] >>> /dev/sda4             0         -          0   0  Empty (Posix.py|741)
[7] [Okt 27 10:27:44] Exit code: 0 (Posix.py|748)
[7] [Okt 27 10:27:44] Partition sector values =>>> number: 1, start: 63 sec, end: 69963074 sec, size: 69963012 sec  (Posix.py|1245)
[7] [Okt 27 10:27:44] Partition sector values =>>> number: 2, start: 69963075 sec, end: 78156224 sec, size: 8193150 sec  (Posix.py|1245)
[6] [Okt 27 10:27:44] Creating partition on '/dev/sda': number: 3, type 'primary', filesystem 'ntfs', start: 4865 cyl, end: 9728 cyl. (Posix.py|1737)
[7] [Okt 27 10:27:44] Writing partition table to disk /dev/sda (Posix.py|1259)
[7] [Okt 27 10:27:44]    number: 1, start: 0 MB (0 cyl), end: 35821 MB (4354 cyl), size: 35821 MB (4355 cyl), type: 7, fs: ntfs, boot: False (Posix.py|1273)
[7] [Okt 27 10:27:44]    number: 2, start: 35821 MB (4355 cyl), end: 40015 MB (4864 cyl), size: 4194 MB (510 cyl), type: c, fs: fat32, boot: True (Posix.py|1273)
[7] [Okt 27 10:27:44]    number: 3, start: 40015 MB (4865 cyl), end: 80015 MB (9728 cyl), size: 40007 MB (4864 cyl), type: 7, fs: ntfs, boot: False (Posix.py|1273)
[b][7] [Okt 27 10:27:44] Partition 4 not found: Partition 4 does not exist (Posix.py|1279)[/b]
[6] [Okt 27 10:27:44] Executing: /bin/echo -e "0,4355,7
4355,510,c,*
4865,4864,7
0,0
" | /sbin/sfdisk -uC -D /dev/sda (Posix.py|660)
[6] [Okt 27 10:27:44] Using encoding 'ANSI_X3.4-1968' (Posix.py|691)
[7] [Okt 27 10:27:44] >>> Checking that no-one is using this disk right now ... (Posix.py|741)
[7] [Okt 27 10:27:44] >>> BLKRRPART: Device or resource busy (Posix.py|741)
[7] [Okt 27 10:27:44] >>>  (Posix.py|741)
[7] [Okt 27 10:27:44] >>> This disk is currently in use - repartitioning is probably a bad idea. (Posix.py|741)
[7] [Okt 27 10:27:44] >>> Umount all file systems, and swapoff all swap partitions on this disk. (Posix.py|741)
[7] [Okt 27 10:27:44] >>> Use the --no-reread flag to suppress this check. (Posix.py|741)
[7] [Okt 27 10:27:44] >>> Use the --force flag to overrule all checks. (Posix.py|741)
[7] [Okt 27 10:27:44] >>> /bin/echo: write error: Broken pipe (Posix.py|741)
[7] [Okt 27 10:27:44] Exit code: 1 (Posix.py|748)
Vielleicht hatte der eine oder andere auch ein vergleichbares Problem und kann mir einen Tipp geben.
Danke schon mal für die Mühe. ;)
Antworten