Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Partitions will not mount once target system is reimaged using dd Post 302525594 by pludi on Friday 27th of May 2011 06:52:44 AM
Old 05-27-2011
Parted is a partition editor that can expand and shrink a partition or logical volume, not an imaging tool. What you can do is use Parted to shrink all LVMs to the minimal necessary size, shrink the PVs behind the VG, clone the disk to the new system, and reverse the steps there.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

AIX / bull Dynamic System Partitions

Hi does any body knows some usefull oneline ressources about systemp partitioning ? A FaQ would be perfect... thanks (0 Replies)
Discussion started by: pinguis
0 Replies

2. UNIX for Dummies Questions & Answers

how to mount a file system of a remote machine to local file system

Hi friends, In my case, there are serveral PCs running Linux in a LAN. I would like to to mount the directory /A_river of machine-A to the file system of another machine machine-B so that I can access files in that directory. I do not know how to do this. The situation is complicated by... (2 Replies)
Discussion started by: cy163
2 Replies

3. Shell Programming and Scripting

FTP files to target Mainframe system

Hi Experts... Greetings for the day..! I just want to FTP the files to mainframe system.. my code is not working..and also i need to put the files in a particular directory in a specific naming format... ftp -i -n ${HOST_NAME} << END_FTP user ${USER_NAME} ${PASSWORD} put ${FILE_NAME}... (3 Replies)
Discussion started by: spkandy
3 Replies

4. Solaris

Can You Mount FAT32 iSCSI Target in Solaris 10 (sparc)?

I get "mount: I/O error" when trying to mount an existing FAT32 iSCSI target. I also tried formatting the iSCSI target with fdisk and got fdisk: "Error in ioctl DKIOCSMBOOT" Details -- According to the format command, the whole disk is allocated to slice 6 and /dev/rdsk shows this as:... (0 Replies)
Discussion started by: ctafret
0 Replies

5. UNIX for Advanced & Expert Users

Can You Mount FAT32 iSCSI Target in Solaris 10 (sparc)?

I get "mount: I/O error" when trying to mount an existing FAT32 iSCSI target. I also tried formatting the iSCSI target with fdisk and got fdisk: "Error in ioctl DKIOCSMBOOT" Details -- According to the format command, the whole disk is allocated to slice 6 and /dev/rdsk shows this as:... (1 Reply)
Discussion started by: ctafret
1 Replies

6. Solaris

Need help to boot a server and mount all partitions

Hello, I am having an issue with a SUN FIRE V440. First of all, lots of mirrors and submirrors needed maintenance, so I applied #metasync to fix all of them, but I still couldn't mount all the partitions of the server . I tried to mount manually all the partitions that appear in the /etc/vfstab... (4 Replies)
Discussion started by: feg
4 Replies

7. HP-UX

how to mount a file system from a solaris server into an hp-ux system

Hi all I wonder if its possible to mount on a hp-ux server a file system that was previously mounted on a solaris 10 server. The LUN is on NetApp stoarge. The problem on hp-ux I cannot do pvcreate on the lun (disk) because contains data. Any help will be appreciated FR (2 Replies)
Discussion started by: fretagi
2 Replies

8. UNIX for Advanced & Expert Users

Which system calls to move data on a device with mounted partitions?

I need to be able to move data around a disk that has mounted partitions. I am not touching the data on the mounted partition, the MBR or any other disk metadata, only the freespace and unmounted partitions. At the moment I am using libparted but it causes data corruption sometimes although there... (1 Reply)
Discussion started by: vstrom
1 Replies

9. AIX

Cannot mount file system

Hi , We i try to mount aix filesystem i am getting the following error mount: 0506-324 Cannot mount /dev/fslv11 on /testdir: A system call received a parameter that is not valid. Please help me out (2 Replies)
Discussion started by: chidori
2 Replies

10. OS X (Apple)

Copy files between partitions with "without auto-mount" option enabled - possible?

Hello, fellow Unixers and Macers, I'll run several OS X versions each on its own dedicated partition. Partitions won't be seeing each other (by editing fstab). Question: will I be able to copy files between those partitions? Partition #1: Mavericks. Partition #2: HighSierra (2 Replies)
Discussion started by: scrutinizerix
2 Replies
PARTED(8)							 GNU Parted Manual							 PARTED(8)

NAME
GNU Parted - a partition manipulation program SYNOPSIS
parted [options] [device [command [options...]...]] DESCRIPTION
This manual page documents briefly the parted command. Complete documentation is distributed with the package in GNU Info format; see below. parted is a disk partitioning and partition resizing program. It allows you to create, destroy, resize, move and copy ext2, ext3, linux- swap, FAT and FAT32 partitions. This is useful for creating space for new operating systems, reorganising disk usage, and copying data to new hard disks. OPTIONS
-h, --help displays a help message. -i, --interactive where necessary, prompts for user intervention. -s, --script never prompts for user intervention. -v, --version displays the version. COMMANDS
[device] The block device to partition. [command [options]] Specifies a command to parted. If no command is given, parted will give you a command prompt. Commands are: check partition does a simple check on partition. cp [source-device] source dest copies the source partition's filesystem on source-device (or the current device if no other device was specified) to the dest partition on the current device. help [command] prints general help, or help on command if specified. mkfs partition fs-type make a filesystem fs-type on partition. fs-type can be one of "FAT", "ext2" or "linux-swap". mklabel label-type Creates a new disklabel (partition table) of label-type. label-type should be one of "bsd", "gpt", "loop", "mac", "mips", "msdos", "pc98" or "sun". mkpart part-type [fs-type] start end make a part-type partition with filesystem fs-type (if specified), beginning at start and ending at end (in megabytes). part-type should be one of "primary", "logical" or "extended" mkpartfs part-type fs-type start end make a part-type partition with filesystem fs-type beginning at start and ending at end (in megabytes) move partition start end move partition to start at start and end at end. Note: move never changes the minor number name partition name set the name of partition to name. This option works only on Mac and PC98 disklabels. The name can be placed in quotes, if necessary print displays the partition table quit exits parted resize partition start end resize the filesystem on partition to start at start and end at end megabytes rm partition deletes partition select device choose device as the current device to edit. device should usually be a Linux hard disk device, but it can be a partition, software raid device or a LVM logical volume if that is necessary set partition flag state change the state of the flag on partition to state. Flags supported are: "boot", "root", "swap", "hidden", "raid", "lvm" and "lba". state should be either "on" or "off" REPORTING BUGS
Report bugs to <bug-parted@gnu.org> SEE ALSO
fdisk(8), mkfs(8), The parted program is documented fully in the GNU partitioning software manual available via the Info system. AUTHOR
This manual page was written by Timshel Knoll <timshel@debian.org>, for the Debian GNU/Linux system (but may be used by others). parted 18 Mar, 2002 PARTED(8)
All times are GMT -4. The time now is 02:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy