how to see unallocated hard disk space on linux

Answers were Sorted based on User's Feedback



how to see unallocated hard disk space on linux..

Answer / uma

[root@station4 ~]# parted
GNU Parted 1.8.1
Using /dev/hdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print


Model: ST380215A (ide)
Disk /dev/hdb: 80.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 8225kB 26.2GB 26.2GB primary boot
2 26.2GB 26.4GB 206MB primary ext3
3 26.4GB 28.5GB 2097MB primary linux-swap
4 28.5GB 80.0GB 51.5GB extended
5 28.5GB 44.3GB 15.7GB logical ext3

(parted)q

The parted command displays the total size of the disk & the
space allocated to partitions. The remaining space (size)
not allocated to partitions is the unallocated space

OR

# fdisk -l ==> to view the size of the disk
# df -h ==> to view the size of the partitions

The remaining (balance) size is the unallocated size

Is This Answer Correct ?    19 Yes 8 No

how to see unallocated hard disk space on linux..

Answer / john

Took clue from Answer 4,
In RHEL 5.5, I used:

parted /dev/sda print all free

This listed all partitions detailed, with free space available.

Is This Answer Correct ?    14 Yes 4 No

how to see unallocated hard disk space on linux..

Answer / colin

answer 4 i found very good even give you options if you can
work it out as witten starting with ROOT@FREESPIER # key i
got myself in to the shell root terminal first wich i acssed
right clik on the small shell screen on the bottom of my
tool bar

Is This Answer Correct ?    1 Yes 3 No

how to see unallocated hard disk space on linux..

Answer / mohan

Answer is #fdisk -l or #fdisk -l /dev/device_name (hda,sda etc.)
and Total Cylinders and Used cylinders.

Is This Answer Correct ?    1 Yes 5 No

how to see unallocated hard disk space on linux..

Answer / colin

SORRY IN REGARDS TO QUESTION 7 I SHOULD HAVE SEID

FDISK -1/DEV/CCISS/c0d0 GOOD LUCK NOT PART OF THE COMAND

Is This Answer Correct ?    1 Yes 6 No

how to see unallocated hard disk space on linux..

Answer / p.r>franklin

simply type

cat /proc/partitions

Is This Answer Correct ?    35 Yes 44 No

how to see unallocated hard disk space on linux..

Answer / abhilash

vmstat

Is This Answer Correct ?    0 Yes 9 No

how to see unallocated hard disk space on linux..

Answer / khaire somnath vaman

# ls -lh (to see how much space are remain)
# cat /proc/partation
(to see space of hard disc)

Is This Answer Correct ?    2 Yes 12 No

how to see unallocated hard disk space on linux..

Answer / harendra kumar

df -h /dev/devicename
device name could be hda,sda

Is This Answer Correct ?    24 Yes 36 No

how to see unallocated hard disk space on linux..

Answer / mayilvahanan

using parted command, we can see unallocated hard disk space

parted /dev/cciss/c0d0 print

from abobe device could be sda, hda as per our attached hdd.

Is This Answer Correct ?    5 Yes 17 No

Post New Answer

More Linux Commands Interview Questions

What make install does?

0 Answers  


How do I find the console in linux?

0 Answers  


How do I permanently delete linux history?

0 Answers  


Which Command used to lock user password in Linux?

0 Answers  


Enlist some linux to file content commands?

0 Answers  






What is ls command and what it does?

0 Answers  


How do I run a bash script in linux?

0 Answers  


Which of the following tasks cannot be accomplished with the touch command?

0 Answers  


I am using RedHat 6.3 in I wanna to install and configure zimbra mail. Can anybody tell me what are the RPM packages required for zimbra mail ? Where can I get those RPM packages ?

0 Answers  


How does case sensitivity affect the way you use commands?

0 Answers  


I have my default runlevel is init5 now i have configured to init 3,now i wanna run my system in init3 process without reboot the system .How will you do for this scenario?

6 Answers   Span Systems,


What command is used to check the number of files, disk space, and each user’s defined quota?

0 Answers  


Categories