LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 11-03-2005, 03:56 AM   #1
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Rep: Reputation: 34
Question extra hard disk space


guys just want to ask, i have this WD hard disk 80G and i have already used the 30, meaning i have 50G left. . can i acess this 50G in slackware? (wat i mean is.. can i see the remaining size of my entire HD) or i will put it this way, how could i access the remaing 50G of my HD?

hope i made a clear question. .. thanks in advanced.!
 
Old 11-03-2005, 04:25 AM   #2
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
Re: extra hard disk space

guys just want to ask, i have this WD hard disk 80G and i have already used the 30, meaning i have 50G left. . can i acess this 50G in slackware?

Of course

(wat i mean is.. can i see the remaining size of my entire HD)

If your hard drive shows as hda
# fdisk -l /dev/hda
will show you what you're using

or i will put it this way, how could i access the remaing 50G of my HD?

# fdisk /dev/hda
n (new partition)
p (primary)
...
you'll work it out

try
# man fdisk

hope i made a clear question. .. thanks in advanced.!

I'm sure you're questions will get better with practice
 
Old 11-03-2005, 04:31 AM   #3
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
hmmm sir "uberNUT69" seems you somehow did not understand my question..ryt? ? hahaha.. thanks anyway... btw my linux partition is on hdc coz hda blongs to winxp.. thanks sir i think u know all the corners of linux..haha i found the right forum to join.
 
Old 11-03-2005, 06:22 AM   #4
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
OK, would you care to provide more detail then?
ie. output from:
# fdisk -l /dev/hdc
$ df
perhaps?
 
Old 11-03-2005, 07:31 AM   #5
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
yes sir. .hmm ur right..i saw my memory usage.. one more question. .. can i expand either one of my partitions with the remaining 50G? thank you very much again sir
 
Old 11-03-2005, 09:54 AM   #6
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Only old ladies couldn't make up their mind.

uberNUT69's instruction is perfectly satisfactory if you substitute /dev/hda with /dev/hdc

If you expand an existing partition that is to resize it. Only limited distros have programs to do it and that would require you to download a distro in a Live CD if you couldn't find such a program in Slackware.
 
Old 11-03-2005, 07:37 PM   #7
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
You still haven't provided any details of your setup.

IF, for example, you are using an ext2 or ext3 filesystem on your
first partition (without LVM), and you have no other partitions on
that drive, you could delete the partitions using fdisk, and then
create one larger partition. Using a programme called ext2resize
it would then be possible to resize the filesystem to fit the new
partition.

HOWEVER:
- as saikee has pointed out, this is only available in some
distros (eg. Debian Sid)
- this does not include an LVM-based partitioning scheme
(use lvextend to resize the partition first)
- I would recommend you test this on another drive (without
important data on it) first, as it's VERY easy to lose EVERYTHING.

Again, as saikee mentions, a Live CD like Knoppix or DFS
would be suitable for this. (DFS also includes LVM tools AFAIK)

Without experimentation, it would be simplest just to create a
new partition in the spare space, and then format it with a
filesystem of your choice.

I strongly suggest you research partitioning tools and methods,
and understand the basics of creating/using filesystems before
you embark on a mission to destroy all your data.

Google is your friend.
 
Old 11-03-2005, 08:56 PM   #8
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
hmm ok.. thanks to both of you. .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i increase hard disk space cyrilbritto Linux - Hardware 5 08-26-2011 08:15 AM
Hard disk space shaahul Linux - Newbie 1 08-25-2003 11:48 AM
hard disk space kafnir Linux - Newbie 4 02-20-2003 02:57 AM
Disk space wastage 73 GB Hard disk rajgopalhg Linux - Hardware 2 10-18-2002 04:41 PM
space in hard disk jaac Linux - Software 3 11-13-2001 11:57 PM


All times are GMT -5. The time now is 02:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration