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..
Linux OS Dev

Avatar of undefined
Last Comment
legolasthehansy

8/22/2022 - Mon
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?
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.
nobleit

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

likewise I want ot create

/dev/sdb2
/dev/sdb3
/dev/sdb4
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
slightwv (䄆 Netminder)

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.
legolasthehansy

Are you trying to create partitions in the disk?
nobleit

ASKER
yes
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER CERTIFIED SOLUTION
legolasthehansy

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question