Home Man
Search
Today's Posts
Register

This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in the UNIX for Beginners Questions & Answers forum.

[SOLVED] Help with new disk but don't know how to add

Tags
beginners

 

 
Thread Tools Search this Thread
# 1  
Old 01-08-2013
[SOLVED] Help with new disk but don't know how to add

Hi,

This Linux server is a VM, on the VMware, I added new disk for this system. I was not able to see the new disk. I did try the scan command but didn't work. I then rebooted the system. Now when I do

Code:
 
fdisk -l
Disk /dev/sda: 161.0 GB, 161061273600 bytes
255 heads, 63 sectors/track, 19581 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14         268     2048287+  82  Linux swap / Solaris
/dev/sda3             269       19581   155131672+  83  Linux

On the Vmware, I added another disk for 150 Gig.

Here is the output from df -h

Code:
 
df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             144G  135G  1.9G  99% /
/dev/sda1              99M   26M   68M  28% /boot
tmpfs                 942M     0  942M   0% /dev/shm

where is my new disk? how do I add that.

---------- Post updated at 04:47 PM ---------- Previous update was at 04:25 PM ----------

I was able to add the new...

Code:
 
fdisk -l
Disk /dev/sda: 161.0 GB, 161061273600 bytes
255 heads, 63 sectors/track, 19581 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14         268     2048287+  82  Linux swap / Solaris
/dev/sda3             269       19581   155131672+  83  Linux
Disk /dev/sdb: 161.0 GB, 161061273600 bytes
255 heads, 63 sectors/track, 19581 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb4               1       19581   157284351    5  Extended

but when I do mkfs, I get error message. Any idea?

Code:
 
mkfs ext3 /dev/sdb4
mke2fs 1.39 (29-May-2006)
mkfs.ext2: invalid blocks count - /dev/sdb4

# 2  
Old 01-08-2013
That's a really weird partition table for /dev/sdb. It's bizzare that it starts at 4, and that it's 'extended' means it's not even intended to have a filesystem inside it, just other partitions.

I don't think adding a new disk is going to help solve your / being 99% full, anyway. Did you ever find the huge file from your other thread?
# 3  
Old 01-09-2013
Thanks. I made a mistake by adding it as Extended. I deleted and re-added as primary disk. After that I got it working.
The Following User Says Thank You to samnyc For This Useful Post:
Corona688 (01-09-2013)
 

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
DISK ARRAY PROTECTION SUSPENDED message displayed following disk replacement terrya Filesystems, Disks and Memory 1 04-24-2018 03:17 PM
[Solved] Use of prtdiag to give information of sectors,cylinders,track of each disk omkar.jadhav Shell Programming and Scripting 2 03-28-2014 03:40 AM
Solved: Disk Unable to Boot br1an Solaris 50 11-12-2013 06:45 AM
[solved] How to blink faulty disk in Solaris hardware? manalisharmabe Solaris 9 10-26-2013 09:00 AM
[Solved] DCMU (disk control and monitor utility) sun fire pabloli150 Emergency UNIX and Linux Support 1 06-29-2012 03:47 AM
Solaris 10 installation issue Error 25: Disk cannot be read - Solved admin_xor Solaris 1 10-22-2011 01:42 AM
[solved] merging two files and writing to another file- solved mlpathir Shell Programming and Scripting 1 10-07-2010 06:41 PM
vxvm root disk booting problem - solved with boot -a. How? badoshi Solaris 4 03-01-2010 09:39 AM


All times are GMT -4. The time now is 03:20 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password