Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Risolto] [Hardware] Creare filesystem su disco SCSI SUN
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
berus
Guru
Guru


Joined: 28 Dec 2003
Posts: 347
Location: Italy

PostPosted: Mon Aug 30, 2004 8:11 am    Post subject: [Risolto] [Hardware] Creare filesystem su disco SCSI SUN Reply with quote

Ciao a tutti. Ho dei problemi nel creare il filesystem su un disco SCSI che prima era su una SUN ed adesso è su un pc. Credo di essere io che faccio una cavolata però. E' possibile creare un filesystem tipo reiserfs su questi dischi?
Fdisk funziona. Creo le due partizioni che mi servono e di default sono tipo 83 Linux native. Ma se provo a creare qualsiasi tipo di filesystem linux non funziona dicendomi
Quote:
Stat of the device '/dev/sdb1' failed
Posso creare solo filesystem SUN? E se si lo standard va bene per dischi che non devono essere utilizzati per /, swap &C. ??
Grazie


Last edited by berus on Mon Aug 30, 2004 1:34 pm; edited 2 times in total
Back to top
View user's profile Send private message
berus
Guru
Guru


Joined: 28 Dec 2003
Posts: 347
Location: Italy

PostPosted: Mon Aug 30, 2004 10:57 am    Post subject: Reply with quote

Il messaggio di sopra appare se voglio una un filesystem reiserfs, con mke2fs invece dice
Quote:
The device apparently dows not exist; did you specify it correctly?
Eppure al boot il disco è riconosciuto.
Back to top
View user's profile Send private message
berus
Guru
Guru


Joined: 28 Dec 2003
Posts: 347
Location: Italy

PostPosted: Mon Aug 30, 2004 12:03 pm    Post subject: Reply with quote

Sono arrivato a questo punto qua..
Quote:
bash-2.05b# mke2fs -j /dev/sdb1
mke2fs 1.35 (28-Feb-2004)
Could not stat /dev/sdb1 --- No such file or directory

The device apparently does not exist; did you specify it correctly?
bash-2.05b# fdisk /dev/sdb

Command (m for help): p

Disk /dev/sdb (Sun disk label): 64 heads, 32 sectors, 17429 cylinders
Units = cylinders of 2048 * 512 bytes

Device Flag Start End Blocks Id System
/dev/sdb1 0 17379 17796096 83 Linux native
/dev/sdb2 17379 17429 51200 83 Linux native
/dev/sdb3 0 17429 17847296 5 Whole disk

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 5: Input/output error.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
E poi? :( Forse l'errore parte già dall'fdisk ma come lo risolvo (ho già riavviato..)?
Back to top
View user's profile Send private message
motaboy
Developer
Developer


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Mon Aug 30, 2004 12:46 pm    Post subject: Reply with quote

Sbaglio o lo start di sdb2 é uguale a quello di sdb1?

secondo me questo non va bene... Prova a rifarle tutte e magari usa cfdisk.
_________________
...
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30966
Location: here

PostPosted: Mon Aug 30, 2004 12:56 pm    Post subject: Reply with quote

Si meglio che usi cfdisk che e' piu' intuitivo e non rischi di fare casini
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mouser
Veteran
Veteran


Joined: 10 Aug 2004
Posts: 1419
Location: Milano

PostPosted: Mon Aug 30, 2004 1:01 pm    Post subject: Reply with quote

berus wrote:

E poi? Sad Forse l'errore parte già dall'fdisk ma come lo risolvo (ho già riavviato..)?


Se dai un
Code:

# hdparm /dev/sdb

riesci ad ottenere lo stat delle flag del disco?
Non ti serve per risolvere il problema, ma almeno vedi se altri software ti generano lo stesso problema :wink:
Back to top
View user's profile Send private message
berus
Guru
Guru


Joined: 28 Dec 2003
Posts: 347
Location: Italy

PostPosted: Mon Aug 30, 2004 1:34 pm    Post subject: Reply with quote

motaboy wrote:
Sbaglio o lo start di sdb2 é uguale a quello di sdb1?

secondo me questo non va bene... Prova a rifarle tutte e magari usa cfdisk.


Confonde un po' le idee la formattazione.. sdb1 va da 0 a 17379, sdb2 da 17379 a 17429... Con fdisk e questo disco era impossibile impostare il valore iniziale della partizione sdb2 a finale_sdb1+1 cioè 17380, dovevo per forza digitare quel numero.
Grazie a cfdisk funziona tutto.. Non so il perchè ma poco importa.
Grazie!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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