Loic Minier wrote:
Loic Minier <[EMAIL PROTECTED]> - Mon, Aug 02, 2004:
Je voudrais maintenant savoir o� trouver l'utilisation que fait XFS
des offsets 0x218 � 0x220 de /dev/hda1, et ce que ferai un pvremove
/dev/hda1. Est-ce que je ferai mieux d'�craser moi-m�me ces huit
octets ?
J'ai trouv� de l'aide sur #debian, et j'ai regard� fs/xfs/xfs_sb.h
dans le noyau, en comptant les tailles de types du superbloc, on arrive
� 204 octets, donc moins que 0x218, les docs XFS semblent dire que le
superbloc est au bloc 0 et le aggregation header au bloc 1 : mais je ne
sais pas � quelle block size �a correspond.
En plus, xfs_admin me crache du n'importe quoi et se vautre :
bee# xfs_admin -l /dev/hda1
xfs_admin: unexpected XFS SB magic number 0xeb489000
/usr/sbin/xfs_admin: line 55: 8429 Floating point exceptionxfs_db
-x -p xfs_admin -r -c label /dev/hda1
Quelqu'un s'y conna�t en r�paration du SB d'un XFS ?
Ce que j'ai sur 1 Knoppix updat�e en sid, puis testing..., si �a peut
servir :) ?
'[EMAIL PROTECTED]:/# fdisk -l
Disque /dev/hda: 20.0 Go, 20003880960 octets
255 t�tes, 63 secteurs/piste, 2432 cylindres
Unit�s = cylindres de 16065 * 512 = 8225280 octets
P�riph�rique Boot Start End Blocks Id System
/dev/hda1 * 1 581 4666851 c W95 FAT32 (LBA)
/dev/hda2 582 1220 5132767+ 83 Linux
/dev/hda3 1221 1250 240975 82 Linux swap
/dev/hda4 1251 2432 9494415 1b Hidden W95 FAT32
[EMAIL PROTECTED]:/# pvdisplay
pvdisplay -- please enter a physical volume path
[EMAIL PROTECTED]:/# pvdisplay /dev/hda1
pvdisplay -- no physical volume identifier on "/dev/hda1"
[EMAIL PROTECTED]:/# pvdisplay /dev/hda2
pvdisplay -- no physical volume identifier on "/dev/hda2"
[EMAIL PROTECTED]:/# pvdisplay /dev/hda4
pvdisplay -- no physical volume identifier on "/dev/hda4"
[EMAIL PROTECTED]:/# exit
exit
[EMAIL PROTECTED]:/$ xfs_admin -l /dev/hda1
xfs_admin: cannot open /dev/hda1: Permission denied
[EMAIL PROTECTED]:/$ su
Password:
[EMAIL PROTECTED]:/# xfs_admin -l /dev/hda1
xfs_admin: unexpected XFS SB magic number 0xeb589077
/usr/sbin/xfs_admin: line 1: 9011 Exception en point flottant xfs_db
-x -p xfs_admin -r -c label /dev/hda1
[EMAIL PROTECTED]:/#'
Sinon 1 lien de chez Google p-�tre ? :
http://lists.debian.org/debian-boot/2004/06/msg01895.html
http://lists.debian.org/debian-boot/2004/06/msg01901.html
&
http://forums1.itrc.hp.com/service/forums/questionanswer.do?admit=716493758+1091490995608+28353475&threadId=508131
https://www.redhat.com/archives/linux-lvm/2004-March/msg00117.html
http://www.suse.de/en/private/products/suse_linux/pers/packages_personal/lvm2.html
Mais moi, �a me fait me poser bien d'autres questions :( !
Mi