Link to home
Create AccountLog in
Avatar of nobleit
nobleit

asked on

device add

[root@rac5 etc]# fdisk -l

Disk /dev/sda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          25      200781   83  Linux
/dev/sda2              26        1300    10241437+  83  Linux
/dev/sda3            1301        1810     4096575   82  Linux swap / Solaris
/dev/sda4            1811        5221    27398857+   5  Extended
/dev/sda5            1811        2320     4096543+  83  Linux
/dev/sda6            2321        5221    23302251   83  Linux

Disk /dev/sdb: 12.8 GB, 12884901888 bytes
255 heads, 63 sectors/track, 1566 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        1566    12578863+  83  Linux


Here is the current disk info

in the second device
I want to add like
/dev/sb2
/dev/sb3
/dev/sb4

which command is used to achieve that..
Avatar of legolasthehansy
legolasthehansy

When you add a new device, the kernel automatically allocates it to device entries which you use to mount on your filesystem.
If you add a new HDD here, fdisk -l might look like
*
*
*
/dev/sdc1

Can you list what is your objective here?
Avatar of slightwv (䄆 Netminder)
>>Can you list what is your objective here?

Check their recent questions.

They are only needing the raw device.  Will never be mounted.

>>/dev/sdb1               1        1566    12578863+  83  Linux

It looks like you were able to create the second disk.  What makes you think you need the others like:  sb2, sb3, sb4?

Just use that one raw device for your ASM install.
Avatar of nobleit

ASKER

my objective is now we have only..
/dev/sdb1

likewise I want ot create

/dev/sdb2
/dev/sdb3
/dev/sdb4
Like legolasthehansy menotioned:  The system automatically creates the numbers as you add devices.

To get 3 more, add three more disks.

Based on all your previous questions I still do not think this is necessary but since you want to, go ahead.
Are you trying to create partitions in the disk?
Avatar of nobleit

ASKER

yes
ASKER CERTIFIED SOLUTION
Avatar of legolasthehansy
legolasthehansy

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account