How to Format ext3 in Redhat???
I've using Redhat Advanced Server. 2.4.20-18.10.1
I created a new partition with fdisk: /dev/hdb15
P
Disk /dev/hdb: 255 heads, 63 sectors, 19929 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 1959 15735636 c Win95 FAT32 (LBA)
/dev/hdb2 1960 16709 118479375 5 Extended
/dev/hdb5 * 1960 1972 104391 83 Linux
/dev/hdb6 1973 2625 5245191 83 Linux
/dev/hdb7 2626 2886 2096451 82 Linux swap
/dev/hdb8 2887 3539 5245191 83 Linux
/dev/hdb9 3540 4192 5245191 83 Linux
/dev/hdb10 4193 4845 5245191 83 Linux
/dev/hdb11 4846 5498 5245191 83 Linux
/dev/hdb12 5499 6151 5245191 83 Linux
/dev/hdb13 6152 6804 5245191 83 Linux
/dev/hdb14 6805 8110 10490413+ 83 Linux
/dev/hdb15 8111 9416 10490413+ 83 Linux
But, how do I format it???
All the other partitions were formatted as ext3 when I
installed. How do I format them as ext3?
Or, even, as ext2? The exact syntax please.
mkfs -c -v -t ext3 /dev/hdb15
mke2fs 1.26 (3-Feb-2002)
mkfs.ext2: bad blocks count - /dev/hdb15
mkfs
Usage: mkfs [-V] [-t fstype] [fs-options] device [size]
mkfs -V -t ext3 /dev/hdb15
mkfs version 2.11f (Feb 26 2002)
mkfs.ext3 /dev/hdb15
mkfs.ext3: No such file or directory
mkfs -V -ext3 /dev/hdb15
mkfs version 2.11f (Feb 26 2002)
mkfs.ext2 -V -ext3 /dev/hdb15
mke2fs 1.26 (3-Feb-2002)
Using EXT2FS Library version 1.26
mkdir /junk
mount /dev/hdb15 /junk -rw -t ext3
mount: wrong fs type, bad option, bad superblock on /dev/hdb15,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
find / -type f -name mkfs*
/usr/share/man/man8/mkfs.8.gz
/usr/share/man/man8/mkfs.bfs.8.gz
/usr/share/man/man8/mkfs.minix.8.gz
/usr/share/man/fr/man8/mkfs.minix.8.gz
/usr/share/man/fr/man8/mkfs.8.gz
/sbin/mkfs.msdos
/sbin/mkfs.vfat
/sbin/mkfs.ext2
/sbin/mkfs
/sbin/mkfs.bfs
/sbin/mkfs.minix
/sbin/mkfs.ocfs
find / -type f -name mke*
/usr/share/man/man8/mke2fs.8.gz
/sbin/mke2fs
/sbin/mkfs.ext2
cat /etc/filesystems
ext3
ext2
nodev proc
nodev devpts
iso9660
vfat
hfs
cat /etc/mtab
/dev/hdb6 / ext3 rw 0 0
none /proc proc rw 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
/dev/hdb5 /boot ext3 rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
/dev/hdb8 /home ext3 rw 0 0
/dev/hdb9 /opt ext3 rw 0 0
/dev/hdb13 /oracle ext3 rw 0 0
/dev/hdb14 /oradata ext3 rw 0 0
none /dev/shm tmpfs rw 0 0
/dev/hdb12 /tmp ext3 rw 0 0
/dev/hdb10 /usr ext3 rw 0 0
/dev/hdb11 /var ext3 rw 0 0
/dev/hdb1 /backup vfat rw 0 0
|