Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Resize | 22 comments | Create New Account
Click here to return to the 'Resize' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Resize
Authored by: dolfs on Nov 20, '02 12:41:48AM

Remember that pdisk manipulates the partition map, not the partitions themselves. As a result (and as noted by the editor in the original hint), you can not preserve the contents of a partition itself if you manipulate its entry in the map.
If the 2 partitions you are asking about are physically adjacent on the disk (meaning that the start of the second one is equal to the start of the first one, plus its length), you can delete both entries (and thus loose the files on both partitions), and create a single new partition that combines the original ones in terms of size.
You will still have to run the newfs command to initialize the file system on the new partition. If you did not already understand, this command will erase anything that used to be on those two partitions.
So, as long as you backed up all your files, you can now restore them to the new and larger partition.



[ Reply to This | # ]