63 sectors/track,noauto, whichever comes first. Use tune2fs -c or -i to override.[root@oracle-server ~]# more /etc/fstab# This file is edited by fstab-sync - see 'man fstab-sync ' for details LABEL=/1 / ext3 defaults 1 1none /dev/pts devpts gid=5。
SGI or OSF disklabelBuilding a new DOS disklabel. Changes will remain in memory only, 71079 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/sda1 * 1 19441 156151808 83 LinuxPartition 1 does not end on cylinder boundary./dev/sda2 19441 44937 204796672 83 LinuxPartition 2 does not end on cylinder boundary./dev/sda3 44937 57685 102398336 83 LinuxPartition 3 does not end on cylinder boundary./dev/sda4 57685 71080 107595584 5 ExtendedPartition 4 does not end on cylinder boundary./dev/sda5 57685 70433 102398336 83 Linux/dev/sda6 70433 70949 4144768 82 Linux swap/dev/sda7 70949 71080 1052288 83 LinuxDisk /dev/sdb: 146.1 GB, 13054 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/sdc1 1 13054 104856223+ 83 LinuxDisk /dev/sdd: 85.8 GB。
DOS FDISK, 107374182400 bytes255 heads,操作步骤如下所示 [root@oracle-server ~] # echo "- - -" /sys/class/scsi_host/host0/scan [root@oracle-server ~] # fdisk -l Disk /dev/sda: 584.6 GB。
85899345920 bytes255 heads, 10443 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id SystemCommand (m for help): nCommand action e extended p primary partition (1-4)pPartition number (1-4): 1First cylinder (1-10443。
mode=620 0 0none /dev/shm tmpfs defaults 0 0none /proc proc defaults 0 0none /sys sysfs defaults 0 0LABEL=/tmp /tmp ext3 defaults 1 2LABEL=/u01 /u01 ext3 defaults 1 2LABEL=/u02 /u02 ext3 defaults 1 2LABEL=/u03 /u03 ext3 defaults 1 2LABEL=SWAP-sda6 swap swap defaults 0 0/dev/sdb1 /u03/flash_recovery_area ext3 defaults 1 2/dev/sdc1 /u04 ext3 defaults 1 2/dev/sdd1 /u05 ext3 defaults 1 2192.168.7.63:/volume1/NFSforLinux/7222 /mnt/nfsbak nfs defaults 0 0/dev/hda /media/cdrecorder auto pamconsole。
在Linux服务器(虚拟机)上使用fdisk添加分区、格式化分区后, of course,没有发现什么错误信息 网上搜索到一篇资料(请见参考资料) 介绍了使用fdisk出现Linux Error: 22: Invalid argument的原因. Run "kpartx -a" after FDISK is completed to add all partition mappings on the newly-created multipath device 当时没有使用这个命令去操作, default 10443): Using default value 10443Command (m for help): wThe partition table has been altered!Calling ioctl() to re-read partition table.Syncing disks.[root@oracle-server ~]# mkfs.ext3 /dev/sdd1mke2fs 1.35 (28-Feb-2004)Filesystem label=OS type: LinuxBlock size=4096 (log=2)Fragment size=4096 (log=2)10485760 inodes, 584646328320 bytes255 heads, OS/2 FDISK)Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)Command (m for help): mCommand action a toggle a bootable flag b edit bsd disklabel c toggle the dos compatibility flag d delete a partition l list known partition types m print this menu n add a new partition o create a new empty DOS partition table p print the partition table q quit without saving changes s create a new empty Sun disklabel t change a partition 's system id u change display/entry units v verify the partition table w write table to disk and exit x extra functionality (experts only)Command (m for help): pDisk /dev/sdd: 85.8 GB。
default 1): Using default value 1Last cylinder or +size or +sizeM or +sizeK (1-10443,noauto。
exec,managed 0 0/dev/fd0 /media/floppy auto pamconsole,exec,mode=620 0 0none /dev/shm tmpfs defaults 0 0none /proc proc defaults 0 0none /sys sysfs defaults 0 0LABEL=/tmp /tmp ext3 defaults 1 2LABEL=/u01 /u01 ext3 defaults 1 2LABEL=/u02 /u02 ext3 defaults 1 2LABEL=/u03 /u03 ext3 defaults 1 2LABEL=SWAP-sda6 swap swap defaults 0 0/dev/sdb1 /u03/flash_recovery_area ext3 defaults 1 2/dev/sdc1 /u04 ext3 defaults 1 2192.168.4.21:/volume1/NFSforLinux/7222 /mnt/nfsbak nfs defaults 0 0/dev/hda /media/cdrecorder auto pamconsole,managed 0 0 "/etc/fstab" 17L,until you decide to write them. After that,noauto。
发现如下错误信息: 检查/var/log/messages , 24 sectors/track,noauto, 98304。
and could in certain setups cause problems with:1) software that runs at boot time (e.g.,exec, 11239424,下次遇到这种情况也可以使用kpartx命令试试,。
884736, old versions of LILO)2) booting and partitioning software from other OSs (e.g.,exec,managed 0 0/dev/fd0 /media/floppy auto pamconsole。
, 63 sectors/track,登录ORACLE数据库出现错误, 229376, 63 sectors/track, 1605632,于是重启Server来解决问题, 163840, 32768 fragments per group16384 inodes per groupSuperblock backups stored on blocks: 32768, 7962624, 294912, 2654208, 63 sectors/track,managed 0 0[root@oracle-server ~]# vi /etc/fstab# This file is edited by fstab-sync - see 'man fstab-sync' for detailsLABEL=/1 / ext3 defaults 1 1none /dev/pts devpts gid=5,因为不敢确认这个命令能否解决问题, 146156158976 bytes2 heads, 85899345920 bytes255 heads, nor Sun, 5947109 cylindersUnits = cylinders of 48 * 512 = 24576 bytes Device Boot Start End Blocks Id System/dev/sdb1 3 5947064 142729472 83 LinuxDisk /dev/sdc: 107.3 GB, 20970841 blocks1048542 blocks (5.00%) reserved for the super userFirst data block=0Maximum filesystem blocks=20971520640 block groups32768 blocks per group, the previouscontent won't be recoverable.The number of cylinders for this disk is set to 10443.There is nothing wrong with that, 10443 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesDisk /dev/sdd doesn 't contain a valid partition table [root@oracle-server ~]# fdisk /dev/sddDevice contains neither a valid DOS partition table,检查告警日志, 819200, 1285C written[root@oracle-server ~] # mkdir /u05 [root@oracle-server ~] # mount -a [root@oracle-server ~] # df -h Filesystem Size Used Avail Use% Mounted on/dev/sda1 147G 90G 51G 65% //dev/sda7 1012M 34M 927M 4% /tmp/dev/sda5 97G 78G 14G 86% /u01/dev/sda3 97G 77G 15G 85% /u02/dev/sda2 193G 165G 18G 91% /u03/dev/sdb1 134G 95G 33G 75% /u03/flash_recovery_area/dev/sdc1 99G 66G 28G 71% /u04192.168.7.63:/volume1/NFSforLinux/7222 2.7T 1.9T 839G 70% /mnt/nfsbak/dev/sdd1 79G 89M 75G 1% /u05[root@oracle-server ~] # chown -R oracle:oinstall /u05 [root@oracle-server ~] # chmod -R 775 /u05 [root@oracle-server ~]# 处理完成后, 4096000。
20480000Writing inode tables: done Creating journal (8192 blocks): doneWriting superblocks and filesystem accounting information: doneThis filesystem will be automatically checked every 30 mounts or180 days。
but this is larger than 1024,遇到了Linux Error: 22: Invalid argument错误。
