Sponsored Content
Full Discussion: Partition Hard drive
Top Forums UNIX for Dummies Questions & Answers Partition Hard drive Post 61449 by amir on Thursday 3rd of February 2005 01:52:46 PM
Old 02-03-2005
Partition Hard drive

Hello everyone.
I am new to Linux so hope some one could help me here.
I have a 30 Gb HD and windows Xp is my O/S, HD is not partitioned,but I want to Partitioned it, so I could Install Knoppix(Linux)on one of the partitioned one, how could I do this? OR should I erase every thing and then partition the HD into two parts, one for XP and one for Linux?
Most of my friends say that this is a great OS and hope to learn it soon.
Thank you

Last edited by amir; 02-03-2005 at 02:59 PM..
 

9 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Question About Drive Partition

I'm using PartitionMagic's wizard to partition my drive for Linux, and after I get past the first step it asks if I want to screate a seperate Linux Swap Partition. What is a Linux Swap Partition and is something I need/should have? (10 Replies)
Discussion started by: Tradewynd
10 Replies

2. Filesystems, Disks and Memory

Dead partition on drive

We are still using solaris 1 with sunos 4.1.4 because nobody here knows Unix. My colleague did a backup (dump) to the wrong place (/dev/sd0h) and we lost this part of the drive. The information is still on tape but we cannot repartition the /dev/sd0h. fsck keeps on about the "wrong SUPER BLOCK"... (2 Replies)
Discussion started by: Tom Bekaert
2 Replies

3. UNIX for Dummies Questions & Answers

Trying to copy old hard drive to new hard drive.

:confused: ........I have a new hard drive and I need to copy ALL info from the old to the new. I would like to use the dd command. I know the command is as follows...... dd if=/dev/rdsk/c1t1d0s0 of=/dev/rdsk/???????? Where I have the question marks is the problem. How do I find out what the... (4 Replies)
Discussion started by: shorty
4 Replies

4. Filesystems, Disks and Memory

The best partitioning schem for a 250GB Sata hard drive & a 75GB SCSI hard drive

Hi I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Discussion started by: sirbijan
0 Replies

5. UNIX for Advanced & Expert Users

Hard-disk partition is Full problem?

HI, Currently I am working in One of the webhosting company and I found on one of my server "/home" partition is getting full say 105% usage... But when I actually check the partition size using "du -h", exact partition utilization is only 60-70%. So... (1 Reply)
Discussion started by: jagdish.machhi@
1 Replies

6. Solaris

Puzzled over over the relationship between the partition and geometry of hard disk.

Not sure why solaris couldn't detect the geometry of a hard disk which has a working OS of winxp pro. Is it due to the different OS that the partition information is stored in different location? When I type '"format" it is shown as below, c3d1 < drive type unknown>... (5 Replies)
Discussion started by: just.srad
5 Replies

7. Solaris

Replacing a hard disk (SVM) with a soft partition?

The following is the summarry:- 1) Four disks in server ie (c1t0d0. c1t1d0, c1t2d0, c1t3d0). c1t2d0 is the disk to be replaced. c1t0d0 and c1t2d0 are mirrors. c1t1d0 and c1t3d0 are mirrors. Metadb to be deleted is in c1t2d0s7 a) Mirror d35 has 2 submirrors d38 and d39 d38 is a stripe... (0 Replies)
Discussion started by: aji1729
0 Replies

8. OS X (Apple)

How to access a NTFS partition on hard drive through Terminal in OSX ?

Hi , I have a Mac OS X Lion mac book pro. I have a hard drive which I have partitioned in two (a) OSX Partition - Mac OS Extended Journaled format. Mount point: / (b) Data Partition - Windows NT Filesystem format. Mount point: /Volumes/Data I need to access the NTFS partition (I have a... (6 Replies)
Discussion started by: neil.k
6 Replies

9. Filesystems, Disks and Memory

Ask concept soft partition vs hard partition

Hi Experts I would like to know different between soft partition concept and hard partition concept on solaris. Here is little explanation between soft partition concept and hard partition concept on solaris. Soft Partition: 1TB total space available in storage in all mapped to the OS to... (2 Replies)
Discussion started by: edydsuranta
2 Replies
Data::ObjectDriver::Driver::SimplePartition(3pm)	User Contributed Perl Documentation	  Data::ObjectDriver::Driver::SimplePartition(3pm)

NAME
Data::ObjectDriver::Driver::SimplePartition - basic partitioned object driver SYNOPSIS
package ParentObject; use base qw( Data::ObjectDriver::BaseObject ); __PACKAGE__->install_properties({ columns => [ 'parent_id', 'partition_id', ... ], ... driver => Data::ObjectDriver::Driver::DBI->new( @$GLOBAL_DB_INFO ), primary_key => 'parent_id', }); __PACKAGE__->has_partitions( number => scalar @PARTITIONS, get_driver => &get_driver_by_partition, ); package SomeObject; use base qw( Data::ObjectDriver::BaseObject ); __PACKAGE__->install_properties({ ... driver => Data::ObjectDriver::Driver::SimplePartition->new( using => 'ParentObject' ), primary_key => ['parent_id', 'object_id'], }); DESCRIPTION
Data::ObjectDriver::Driver::SimplePartition is a basic driver for objects partitioned into separate databases. See Data::ObjectDriver::Driver::Partition for more about partitioning databases. SimplePartition helps you partition objects into databases based on their association with one record of a parent class. If your classes don't meet the requirements imposed by SimplePartition, you can still write your own partitioning driver. See Data::ObjectDriver::Driver::Partition. SUGGESTED PRACTICES
Often this is used for user partitioning, where the parent class is your user account class; all records of other classes that are "owned" by that user are partitioned into the same database. This allows you to scale horizontally with the number of users, at the cost of complicating querying multiple users' data together. SimplePartition will load the related instance of the parent class every time it needs to find the partition for a related object. Consider using a minimal mapping class for the parent, keeping as much data as possible in other related classes. For example, if "User" were your parent class, you might keep only the user ID and other data used to find users (such as login name and email address) in "User", keeping further profile data in another "UserProfile" class. As all the partitioned classes related to a given parent class will share the same "partition_get_driver" logic to turn a partition ID into a driver, you might put the "partition_get_driver" function in the parent class, or use a custom subclass of SimplePartition that contains and automatically specifies the "partition_get_driver" function. USAGE
Data::ObjectDriver::Driver::SimplePartition->new(%params) Creates a new basic partitioning driver for a particular class. The required members of %params are: o "using" The name of the parent class on which the driven class is partitioned. Using a class as a parent partitioned class requires these properties to be defined: o "columns" The parent class must have a "partition_id" column containing a partition identifier. This identifier is passed to the "partition_get_driver" function to identify a driver to return. o "primary_key" The parent class's primary key must be a simple single-column key, and that column must be the same as the referencing column in the partitioned classes. o "partition_get_driver" The "partition_get_driver" property must be a function that returns an object driver, given a partition ID and any extra parameters given to the "SimplePartition" constructor. This property can also be defined as "get_driver" in a call to "Class->has_partitions()". See Data::ObjectDriver::BaseObject. You can also include any further optional parameters you like. They will be passed to the partitioned class's "partition_get_driver" function as given. A SimplePartition driver will require these properties to be defined for partitioned classes: o "primary_key" Your primary key should be a complex primary key (arrayref) with the simple key of the parent object for the first field. DIAGNOSTICS
o "using is required." The "using" parameter to the SimplePartition constructor is required to create the partitioned class's "get_driver" function. Perhaps you omitted it, or your subclass of SimplePartition did not properly specify it to its parent's constructor. o "Bogus classname." The parent class name you specified in your "using" parameter does not appear to be a valid class name. If you are automatically generating parent class names, check that your method of converting strings to class names is correct. o "Failed to load parent class: error" The parent class you specified in your "using" parameter could not be loaded, for the given reason. Perhaps you didn't include its location in your library path. o "Partitioning driver not defined for partitioned class" The partitioned class named in the error is configured to use the SimplePartition driver but does not have a "partition_get_driver" set. Check that you intended to use SimplePartition with that class or, if you're automatically specifying the "partition_get_driver" function, that your technique is working correctly. o "Cannot extract column from terms search terms or primary key" The SimplePartition driver could not determine from the given search terms or object key what the ID of the related parent record was. Check that your columns in the partitioned and parent classes share the same name, and that your application includes the parent ID in all "search()" calls for the partitioned class and instances of partitioned objects before attempting to save them. Optionaly you can enable a basic support of search accross multiple partition by passing the 'multi_partition' arg (true value) to the search query. o "Member of class with ID parent ID not found" The parent record associated with the partitioned object could not be loaded. Perhaps your application deleted the parent record without removing its associated partitioned objects first. BUGS AND LIMITATIONS
There are no known bugs in this module. SEE ALSO
Data::ObjectDriver::Driver::Partition LICENSE
Data::ObjectDriver is free software; you may redistribute it and/or modify it under the same terms as Perl itself. AUTHOR &; COPYRIGHT Except where otherwise noted, Data::ObjectDriver is Copyright 2005-2006 Six Apart, cpan@sixapart.com. All rights reserved. perl v5.12.4 2011-08-29 Data::ObjectDriver::Driver::SimplePartition(3pm)
All times are GMT -4. The time now is 10:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy