Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

RAC fdisk partitioning

user13322572Jun 3 2016 — edited Jun 3 2016

Hey Guys,

I need some quick help. I was creating a partition for one of the disks to setup RAC with fdisk and in error i wrote to the partition "w option" without actually creating the partition and now the disk just wont show up in fdisk, can anyone please help rectify this.

this is what i did

sample01:~ # fdisk /dev/sdb

Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel

Building a new DOS disklabel with disk identifier 0x4a2ae912.

Changes will remain in memory only, until you decide to write them.

After that, of course, the previous content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

WARNING: The size of this disk is 2.2 TB (2199023255552 bytes).

DOS partition table format can not be used on drives for volumes

larger than (2199023255040 bytes) for 512-byte sectors. Use parted(1) and GUID

partition table format (GPT).

Command (m for help): p

Disk /dev/sdb: 2199.0 GB, 2199023255552 bytes

255 heads, 63 sectors/track, 267349 cylinders, total 4294967296 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x4a2ae912

    Device Boot      Start         End      Blocks   Id  System

Command (m for help): u

Changing display/entry units to cylinders (DEPRECATED!)

Command (m for help): w

The partition table has been altered!

Calling ioctl() to re-read partition table.

Syncing disks.

sample01:~ # fdisk /dev/sdb

fdisk: unable to open /dev/sdb: No such file or directory

sample01:~ #

sample01:~ #

Can anyone please help rectify this.

Thanks,

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 1 2016
Added on Jun 3 2016
6 comments
1,443 views