finde 2te festplatte nicht

FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
mpl
Posts: 48
Joined: 2006-06-07 12:22
 

finde 2te festplatte nicht

Post by mpl »

hi leute ...

in meinem debian3.1 root sind 2 festplatten... die waren im raid als ich das system neugemacht hab war nur noch eine da weil die 2te nicht mit formatiert wurde... möchte das nun selber machen blos ich weiss nicht wwelche festplatte das ist... hier mal paar infos

Code: Select all

fdisk -l

Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       30178   242404753+  83  Linux
/dev/sda2           30179       30515     2706952+   5  Extended
/dev/sda5           30179       30515     2706921   82  Linux swap / Solaris

Disk /dev/sdb: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1       30515   245111706   83  Linux

Code: Select all

mount ; echo ; df -hT
/dev/hda1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /mnt type ext3 (rw)

Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/hda1     ext3    228G   40G  177G  19% /
tmpfs        tmpfs   1014M     0 1014M   0% /dev/shm
/dev/sda1     ext3    228G   40G  177G  19% /mnt

Code: Select all

cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda1       /               ext3    defaults,errors=remount-ro 0       1
/dev/hda5       none            swap    sw              0       0
/dev/hdd        /media/cdrom0   iso9660 ro,user,noauto  0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
#/dev/sdb1      /hd2            ext3    defaults        0       0

Code: Select all

mount
/dev/hda1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /mnt type ext3 (rw)
ich weiss nicht ob euch das hilft mir zu helfen ^^

sagt mir bitte wie ich herausfinde welches die 2te platte ist :)

danke

mfg MPL
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: finde 2te festplatte nicht

Post by Roger Wilco »

Festplatte 1 -> /dev/sda
Festplatte 2 -> /dev/sdb

Steht doch alles in der Ausgabe von `fdisk -l`.
EdRoxter
Posts: 483
Joined: 2006-01-06 03:23
Location: Neben Bonn
 

Re: finde 2te festplatte nicht

Post by EdRoxter »

Genau. fdisk sagt dir, dass /dev/sda offensichtlich gut in Benutzung ist, weil eben eine Boot, eine erweiterte und eine Swap-Partition drauf sind. Das sollte deine Systemplatte sein.
Mit deiner einzelnen logischen Partition sollte man jedenfalls nicht versuchen Linux laufen zu lassen, und das ist auf /dev/sdb der Fall.
Außerdem ist die Partition in der fstab auskommentiert. Auf sdb kannst du also nach Herzenslust frei walten.
mpl
Posts: 48
Joined: 2006-06-07 12:22
 

Re: finde 2te festplatte nicht

Post by mpl »

ok dankeschön