URL: https://www.overclockers.at/linux/frage_zu_partitionieren_formatieren_und_eintrag_in_113628/page_1 - zur Vollversion wechseln!
ich habe einen raidcontroller, für den muß ich ein modul bauen. nachdem das gebaut und installiert ist, hab ich ein /dev/ataraid. wie partitioniere, formatiere ich das dann? und wie baue ich das in mtab/fstab (wo genau????) dann ein? ich habe nur die console zur verfügung bzw. den midnightcommander, kein x.
tia
MIK
fdisk /dev/ataraid
[...] prtitionieren nach wunsch [...]
$(EDITOR) /etc/fstab
(sollte ausreichend kommentiert sein) legt fest, welche partition wo unter / per default gemountet werden soll.
hth, colo
mit fdsik partitionier ich (nehm ich mal an) aber mit welchem befehl/prog formatiere ich?
tia
MIK
mkfs.[fstpye] /dev/partition
z.b.
mkfs.ext3 /dev/hda3
danke
MIK
das dev/ataraid ist scheinbar irgendwas anderes, nur nicht mein raidcontroller
habe es nun endlich geschafft einen kernel zu kompilieren und auch das modul für den controller zu installieren. seltsamerweise bei modprobe findet er das modul nicht, aber im log hab ich folgende zeilen gefunden:
Code:May 20 16:01:29 MIKNET-SRV1 kernel: PCI: Found IRQ 12 for device 00:0b.1 May 20 16:01:29 MIKNET-SRV1 kernel: PCI: Sharing IRQ 12 with 00:10.3 May 20 16:01:29 MIKNET-SRV1 kernel: Found PTI SuperTrak at mbase: 0xdf000000, irq 12. May 20 16:01:29 MIKNET-SRV1 kernel: scsi0 : PROMISE SuperTrak SX6000 Driver May 20 16:01:29 MIKNET-SRV1 kernel: Vendor: PTI Model: SuperTrak Rev: May 20 16:01:29 MIKNET-SRV1 kernel: Type: Direct-Access ANSI SCSI revision: 02 May 20 16:01:29 MIKNET-SRV1 kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 May 20 16:01:29 MIKNET-SRV1 kernel: SCSI device sda: 1991484800 512-byte hdwr sectors (1019640 MB) May 20 16:01:29 MIKNET-SRV1 kernel: sda: unknown partition table May 20 16:05:34 MIKNET-SRV1 kernel: Kernel logging (proc) stopped. May 20 16:05:34 MIKNET-SRV1 kernel: Kernel log daemon terminating.
spuckt fdisk irgendwelche Fehlermeldungen/Beschwerden aus?
kann nicht darauf zugreifen oder so ähnlich. sollte der genaue wortlaut wichtig sein, nur sagen und ich werf die ksite an.
MIK
/dev/sda sollte mit dem promise-modul (pti_st) eigentlich passen.
kannst dann wie eine normale disk partitionieren und formattieren.
schaut bei mir so aus:
dmesg:
partitionstabelle:Code:PCI: Found IRQ 10 for device 00:11.1 Found PTI SuperTrak at mbase: 0xe8000000, irq 10. scsi0 : PROMISE SuperTrak SX6000 Driver Vendor: PTI Model: SuperTrak Rev: Type: Direct-Access ANSI SCSI revision: 02 Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 SCSI device sda: 1171874560 512-byte hdwr sectors (600000 MB) sda: sda1 sda2 < sda5 sda6 sda7 sda8 > Journalled Block Device driver loaded kjournald starting. Commit interval 5 seconds
Code:Disk /dev/sda: 64 heads, 32 sectors, 572204 cylinders Units = cylinders of 2048 * 512 bytes Device Boot Start End Blocks Id System /dev/sda1 1 8198 8393931 83 Linux /dev/sda2 8198 572198 577536750 5 Extended /dev/sda5 8198 315402 314576766 83 Linux /dev/sda6 315402 417808 104864256 83 Linux /dev/sda7 417808 520215 104864256 83 Linux /dev/sda8 520215 572198 53231346 83 Linux
fehlermeldung vom fdisk: unable to open /sda
ich hab jetzt dmesg gemacht, da fehlt seltsamerweise der raidcontroller aber bei insmod ist keine fehlermeldung gekommen.
hab grad nochmals insmod gemacht, jetzt ist es dabei. muß man insmod bei jedem start machen? is ja unpraktisch.
Code:Linux version 2.4.26 (root@MIKNET-SRV1) (gcc version 2.95.4 20011002 (Debian prerelease)) #2 SMP Thu May 20 15:08:50 CEST 2004 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009ec00 (usable) BIOS-e820: 000000000009ec00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000001fff0000 (usable) BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS) BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) 511MB LOWMEM available. On node 0 totalpages: 131056 zone(0): 4096 pages. zone(1): 126960 pages. zone(2): 0 pages. ACPI: RSDP (v000 VIA694 ) @ 0x000f6a20 ACPI: RSDT (v001 VIA694 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1fff3000 ACPI: FADT (v001 VIA694 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1fff3040 ACPI: DSDT (v001 VIA694 AWRDACPI 0x00001000 MSFT 0x0100000e) @ 0x00000000 Kernel command line: auto BOOT_IMAGE=Linux ro root=302 Local APIC disabled by BIOS -- reenabling. Found and enabled local APIC! Initializing CPU#0 Detected 1595.493 MHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 3185.04 BogoMIPS Memory: 514432k/524224k available (2146k kernel code, 9400k reserved, 867k data, 172k init, 0k highmem) Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) Inode cache hash table entries: 32768 (order: 6, 262144 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 32768 (order: 5, 131072 bytes) Page-cache hash table entries: 131072 (order: 7, 524288 bytes) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 64K (64 bytes/line) Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: After generic, caps: 0383fbff c1c3fbff 00000000 00000000 CPU: Common caps: 0383fbff c1c3fbff 00000000 00000000 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au) mtrr: detected mtrr type: Intel CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 64K (64 bytes/line) Intel machine check reporting enabled on CPU#0. CPU: After generic, caps: 0383fbff c1c3fbff 00000000 00000000 CPU: Common caps: 0383fbff c1c3fbff 00000000 00000000 CPU0: AMD Duron(tm) processor stepping 00 per-CPU timeslice cutoff: 182.90 usecs. SMP motherboard not detected. enabled ExtINT on CPU#0 ESR value before enabling vector: 00000000 ESR value after enabling vector: 00000000 Using local APIC timer interrupts. calibrating APIC timer ... ..... CPU clock speed is 1595.4643 MHz. ..... host bus clock speed is 265.9107 MHz. cpu: 0, clocks: 2659107, slice: 1329553 CPU0<T0:2659104,T1:1329536,D:15,S:1329553,C:2659107> Waiting on wait_init_idle (map = 0x0) All processors have done init_idle PCI: PCI BIOS revision 2.10 entry at 0xfb3e0, last bus=2 PCI: Using configuration type 1 PCI: Probing PCI hardware PCI: Probing PCI hardware (bus 00) PCI: Using IRQ router VIA [1106/3177] at 00:11.0 Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd VFS: Disk quotas vdquot_6.5.1 Journalled Block Device driver loaded vga16fb: initializing vga16fb: mapped to 0xc00a0000 Console: switching to colour frame buffer device 80x30 fb0: VGA16 VGA frame buffer device Detected PS/2 Mouse Port. pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A Real Time Clock Driver v1.10f Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 COMX: driver version 0.85 (C) 1995-1999 ITConsult-Pro Co. <info@itc.hu> RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: loaded (max 8 devices) Compaq SMART2 Driver (v 2.4.28) HP CISS Driver (v 2.4.50) pcnet32.c:v1.28 02.20.2004 [email]tsbogend@alpha.franken.de[/email] 8139cp: 10/100 PCI Ethernet driver v1.1 (Aug 30, 2003) 8139cp: pci dev 00:0a.0 (id 10ec:8139 rev 10) is not an 8139C+ compatible chip 8139cp: Try the "8139too" driver instead. 8139too Fast Ethernet driver 0.9.26 PCI: Found IRQ 11 for device 00:0a.0 PCI: Sharing IRQ 11 with 00:10.2 PCI: Sharing IRQ 11 with 00:11.5 eth0: RealTek RTL8139 at 0xe081a000, 00:08:54:00:fa:34, IRQ 11 eth0: Identified 8139 chip type 'RTL-8100B/8139D' HDLC support module revision 1.14b Cronyx Ltd, Synchronous PPP and CISCO HDLC (c) 1994 Linux port (c) 1998 Building Number Three Ltd & Jan "Yenya" Kasprzak. Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: IDE controller at PCI slot 00:11.1 VP_IDE: chipset revision 6 VP_IDE: not 100% native mode: will probe irqs later ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci00:11.1 ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:DMA hda: IBM-DTTA-371010, ATA DISK drive blk: queue c047d600, I/O limit 4095Mb (mask 0xffffffff) hdc: MATSHITADVD-ROM SR-8583A, ATAPI CD/DVD-ROM drive hdd: RICOH CD-R/RW MP7040A, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: attached ide-disk driver. hda: host protected area => 1 hda: 19746720 sectors (10110 MB) w/465KiB Cache, CHS=19590/16/63, UDMA(33) hdc: attached ide-cdrom driver. hdc: ATAPI 32X DVD-ROM drive, 512kB Cache, DMA Uniform CD-ROM driver Revision: 3.12 hdd: attached ide-cdrom driver. hdd: ATAPI 20X CD-ROM CD-R/RW drive, 2048kB Cache, DMA Partition check: hda: hda1 < hda5 > hda2 Promise Fasttrak(tm) Softwareraid driver 0.03beta: No raid array found Highpoint HPT370 Softwareraid driver for linux version 0.02 SCSI subsystem driver Revision: 1.00 Red Hat/Adaptec aacraid driver (1.1-3 May 20 2004 15:10:23) DC390: 0 adapters found 3ware Storage Controller device driver for Linux v1.02.00.037. 3w-xxxx: No cards found. kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 Linux Kernel Card Services 3.1.22 options: [pci] [cardbus] [pm] NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 4096 buckets, 32Kbytes TCP: Hash tables configured (established 32768 bind 32768) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. ds: no socket drivers loaded! kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: 172k freed Adding Swap: 499928k swap-space (priority -1) EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,2), internal journal eth0: link up, 100Mbps, full-duplex, lpa 0x41E1 eth0: link up, 100Mbps, full-duplex, lpa 0x41E1 spurious 8259A interrupt: IRQ7. end_request: I/O error, dev 02:00 (floppy), sector 0 end_request: I/O error, dev 02:00 (floppy), sector 0 PCI: Found IRQ 12 for device 00:0b.1 PCI: Sharing IRQ 12 with 00:10.3 [b]Found PTI SuperTrak at mbase: 0xdf000000, irq 12. scsi0 : PROMISE SuperTrak SX6000 Driver Vendor: PTI Model: SuperTrak Rev: Type: Direct-Access ANSI SCSI revision: 02 Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 SCSI device sda: 1991484800 512-byte hdwr sectors (1019640 MB) sda: unknown partition table[/b]
...und wie sieht's nach
aus?Code:fdisk [b]/dev[/b]/sda
as COLOSSUS said: /dev/sda gibts bestimmtZitat von kleinerChemikerfehlermeldung vom fdisk: unable to open /sda
nö, du musst blos die pti_st in die /etc/modules eintragen, dann passiert das automatisch.Zitat
ich hab jetzt dmesg gemacht, da fehlt seltsamerweise der raidcontrolleraber bei insmod ist keine fehlermeldung gekommen.
hab grad nochmals insmod gemacht, jetzt ist es dabei. muß man insmod bei jedem start machen? is ja unpraktisch.
ok, mit /dev/sda gings. komischer weise ist /dev/sda aber nicht im midnightcommander, daher dachte ich, das gibts nicht
thx
MIK
edit: @dookie: ich hab nun das raid auch in die fstab eingetragen. aber was nimmt man da als options? ich hab vorläufig mal default genommen. derzeit sieht der eintrag so aus
/dev/sda1 /raid ext3 defaults 0 0
solved:
das modul war im falschen verzeichnis, dadurch wurde es nicht geladen und so weiter ...
MIK
overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2025