Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
i did an fdisk /hdc1/ made a mount gave it a name etc etc...
ive mapped a drive on a windows client, the drive is 160GB but on the windows client its only showing up as 30GB...
here are my settings
Quote:
Disk /dev/hda: 40.9 GB, 40982151168 bytes
255 heads, 63 sectors/track, 4982 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 4892 39294958+ 83 Linux
/dev/hda2 4893 4982 722925 5 Extended
/dev/hda5 4893 4982 722893+ 82 Linux swap / Solaris
Disk /dev/hdc: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 1 19456 156280288+ 83 Linux
help please getting it to the correct size!!
i know i need to format to the correct size but dont know how to do this, when i first formatted i did Fdisk, then N, then 1, then i used the total blocks like it suggested...
i can already access the network drive / net partition but its only 30 or so GB
well i think really i need to learn the proper process if someone can help me please
so i do
fdisk /dev/hdc
Then i type n for new partition
i choose 1 for partition 1
then i say start at 1
end at 19457
sudo mkdir /home/michael/hd2 <this makes a new directory in my home folder called HD2
sudo fdisk /dev/hdc <this makes a new partition on my hdc, options were n (for new partition), 1 (for partition 1) then defaults
sudo mkfs /dev/hdc1 <this formats the new partition as ext2
sudo mount /dev/hdc1 /home/michael/hd2 <mounts the new partition as the directory we made
i then did a reboot
then logged into SWAT, made a new share, pointed it at the hd2 directory and mapped my network drive.
now i have a 150GB mapped drive...
__________________
Congratulations - I was wondering if you still needed help.
ext2 is not a good option for a big partition like that - conversion to ext3 (ext2 with a journal) would be a better (and safer) option.
Can be done anytime - see the manpage for tune2fs; the "-j" option.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.