Section G.7. Disk and Filesystem Management


G.7. Disk and Filesystem Management

Tables G-7 and G-8 show differences in Linux and Solaris disk and filesystem management and configuration tasks.

Table G-7. [*] Disk Management Tasks

Task

Solaris

Linux

Create device files for new device

devfsadm

udev

Create partitions on the disk

format or fmthard

fdisk or parted

Display partition table

prtvtoc

fdisk or parted

Maximum usable partitions

7

15 for SCSI
63 for IDE


[*] Table A-14 of IBM Redbook

Table G-8. [*] Filesystem Management Tasks

Task

Solaris

Linux

Run multiple tasks in a GUI environment

N/A

N/A

Format a disk

format

fdisk

Check a file system

fsck

fsck

Mount a filesystem

mount

mount

Display available filesystem space

df

df

Partition a disk

format

fdisk

List a volume's table of contents

prtvtoc

fdisk

Format a filesystem

newfs or mkfs

mkfs

Unmount a filesystem

umount

umount

Back up filesystems, files, directories

ufsdump

dump

Restore filesystems, files, directories

ufsrestore

restore

Change a filesystem

tunefs

RHEL and SLES: resize2ext SLES: resize_reiserfs

Display filesystem information

cat /etc/vfstab

cat /etc/fstab

Display filesystem mount table

/etc/mtab

/etc/mtab


[*] Table A-15 of IBM Redbook




UNIX to Linux Porting. A Comprehensive Reference
UNIX to Linux Porting: A Comprehensive Reference
ISBN: 0131871099
EAN: 2147483647
Year: 2004
Pages: 175

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net