Unable to use logical partitions

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Unable to use logical partitions
# 1  
Old 04-12-2011
Unable to use logical partitions

Hi All

[root@test ~]# uname -a
Linux test.testbox.com 2.6.9-67.0.0.0.1.ELhugemem #1 SMP Sun Nov 18 00:31:12 EST 2007 i686 i686 i386 GNU/Linux


I have created two logical partition in an extended partition as

[root@test ~]# fdisk -l /dev/sdb
Disk /dev/sdb: 17.1 GB, 17179869184 bytes
255 heads, 63 sectors/track, 2088 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 852 6843658+ 83 Linux
/dev/sdb2 853 914 498015 83 Linux
/dev/sdb3 915 976 498015 83 Linux
/dev/sdb4 977 2088 8932140 5 Extended
/dev/sdb5 977 1038 497983+ 83 Linux
/dev/sdb6 1039 1100 497983+ 83 Linux

But when i try to format any logical drive i get following

[root@test ~]# mkfs -t ext2 /dev/sdb6
mke2fs 1.35 (28-Feb-2004)
Could not stat /dev/sdb6 --- No such file or directory
The device apparently does not exist; did you specify it correctly?


Please help

Thanks
Ankur Smilie
# 2  
Old 04-12-2011
What are the permissions you see for /dev/sdX?

What is the output of cat /proc/partitions?

Run partprobe and then try again to create the filesystem.

A cheap approach would be to just reboot and see if it refreshes the disk changes.
This User Gave Thanks to verdepollo For This Post:
# 3  
Old 04-12-2011
Quote:
Originally Posted by verdepollo
What are the permissions you see for /dev/sdX?

What is the output of cat /proc/partitions?

Run partprobe and then try again to create the filesystem.

A cheap approach would be to just reboot and see if it refreshes the disk changes.

Thanks a ton .. Just did the partprobe and it's done...
Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Creating Partitions

Hello, I'm trying to create two lpars on a machine which has 2disks. I dont want to create a vio, I just want to create two partitions and build aix on both through DVD. Can I do this? If 'yes' how can I do it and how to create the partitions on separate disks? Please let me know further.... (3 Replies)
Discussion started by: pjeedu2247
3 Replies

2. Solaris

Create new partitions

Hello, Can someone tell me why should i do to resolve this problem? I cant creat the news partitions!! # /etc/init.d/volmgt start volume management starting. # format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0d0 <DEFAULT cyl 1955 alt 2 hd 255 sec 63> ... (5 Replies)
Discussion started by: herbich1985
5 Replies

3. HP-UX

Unable To Extend the Size of a Logical Volume File System

Background: # uname -a HP-UX deedee B.11.23 U ia64 4294967295 unlimited-user license deedee.rsn.hp.com:/ # bdf /opt Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol6 6553600 6394216 158144 98% /opt /opt is almost full... (3 Replies)
Discussion started by: Rob Sandifer
3 Replies

4. UNIX for Dummies Questions & Answers

Partitions.

Hi All, My colleague says . On some boxes we have /var/,/opt are inside root and on some they are not on root they are separately. So please any one explain me what actually the difference is. Thanks is Advance. (3 Replies)
Discussion started by: rama krishna
3 Replies

5. UNIX for Advanced & Expert Users

Partitions

Hello masters, Actually, i am user of Ubuntu, but I want to use Debian too. I have a computer with a product key for w7 so i will use too, only for games... The structure I have thought is the next with 1TiB of capacity. Primary: 50 GB NTFS for W7 Extended: Logical: 20 GB FAT32... (3 Replies)
Discussion started by: albertogarcia
3 Replies

6. AIX

Logical Partitions?

I'm trying to find out how many logical partitions our AIX box has. I'm running the command: topas -C and nothing is showing up. Is it safe to say that there is only one LPAR, which is what AIX is installed on? Move to AIX - jim mc (2 Replies)
Discussion started by: NycUnxer
2 Replies

7. Shell Programming and Scripting

How to do logical AND and logical OR with grep

Hi can someone please help me on this. I need to perform this code: Grep any lines that meets the following criteria (A AND B) OR (A AND C) I tried this code, but it didn't work Grep-I "A &&B" | "A&&C" *.* $ thanks in advance (12 Replies)
Discussion started by: Needhelp2
12 Replies

8. UNIX for Dummies Questions & Answers

Monitoring partitions

Sun Solarus 8. I have a partition that due to some automated processes can fill a partition to 100% before the weekly backup and cleanup process happens. Is there a way I can monitor a partition and send a page or email if the partition gets above 85% full? (2 Replies)
Discussion started by: PrimeRibAndADew
2 Replies

9. UNIX for Dummies Questions & Answers

Merging Partitions

Hi, I was just wondering what is the best way to merge partitions on a disk. I am running Solaris 8 and have two mirrored disks (Solstice Disk Suite). Say my /local partition is 4gb and I have a /local2 partition of 2gb. My question is can I increase the size of the /local partition using some of... (1 Reply)
Discussion started by: camerja1
1 Replies

10. UNIX for Advanced & Expert Users

partitions

HI. i installed solaris on a x86 machine and i only partition for 4 gig when it suppose to be 8. i only using 4 gig right now how can i start using the other four. please help, thanks in advance Meeh (2 Replies)
Discussion started by: souldier
2 Replies
Login or Register to Ask a Question