Koozali.org: home of the SME Server
Obsolete Releases => SME Server 6.x => Topic started by: tanos on July 27, 2006, 11:37:18 AM
-
hello
I have a sme 6
Linux e-smith2 2.4.20-18.7 #1 Thu May 29 06:51:53 EDT 2003 i686 unknown
before adding my new ide disk
df -k
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda3 18880420 10461236 7460104 59% /
/dev/hda1 101089 13889 81981 15% /boot
none 321708 0 321708 0% /dev/shm
fdisk -l /dev/hda
Disk /dev/hda: 255 heads, 63 sectors, 2434 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 46 265072+ 82 Linux swap
/dev/hda3 47 2434 19181610 83 Linux
after adding my ide disk
fdisk -l /dev/hda ==>nothing change
fdisk -l /dev/hdc
[root@e-smith2 script]# fdisk -l /dev/hdc
Disk /dev/hdc: 255 heads, 63 sectors, 1048 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 2 16033+ 83 Linux
/dev/hdc2 3 1048 8401995 5 Extended
/dev/hdc5 3 35 265041 82 Linux swap
/dev/hdc6 36 1048 8136891 83 Linux
and
df -k
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hdc6 18880420 9705596 8215744 55% /
/dev/hda1 101089 13889 81981 15% /boot
none 321708 0 321708 0% /dev/shm
Why in my df -k /dev/hda3 become /dev/hdc6?
My hdc disk is 8Go and /dev/hdc6 is 18Go.
thank you for helping
-
Why in my df -k /dev/hda3 become /dev/hdc6?
My hdc disk is 8Go and /dev/hdc6 is 18Go.
You have duplicate file system labels on the two disks, and linux is confused. Either change the labels on your hdc and then reboot, or delete the partitions on /dev/hdc and create new ones.
Google for e2fslabel.