03-18-2020
As I understood you, you like to combine 2 parts of 2 different disks into one partition/filesystem. You can do that(e. g. by using lvm). But if you do, know that one of those 2 disks fail, the data are completely lost for that filesystem - and you should better have good and recently done backups. In my opinion that's not worth it just to be able to directly use that 20 GB of the first disk.
I would recommend you to just make a filesystem on the new disk with 300 GB and copy the old data to the new filesystem.
Then you may use the space on the other disk for other purposes.
Last edited by stomp; 03-18-2020 at 10:56 AM..
This User Gave Thanks to stomp For This Post:
9 More Discussions You Might Find Interesting
1. Solaris
We have bunch of Sun Sparc workstations(solaris 7 & 8) connecting to a linux file server with NFS exports. Recently we upgraded our file server from fedora core1 to redhat enterprise linux 4. And since then we are experiencing a nightmare of file/dir missing. It happens randomly, couple of times... (1 Reply)
Discussion started by: motor98
1 Replies
2. Filesystems, Disks and Memory
We have a Slackware 9.1 box that our ASP controls. We use it to see the logging of our Weblogic-clusters.
All the logging is auto-mounted in /rmt which is fine, as long as you know the names of the mountpoints. When you don't access the mountpoints for a certain period of time, the mountpoint... (0 Replies)
Discussion started by: indo1144
0 Replies
3. Shell Programming and Scripting
Hi all... I-m quite a new user of UNIX and i was trying to write a simple program and my problem is the following:how can i make a typed letter disappear (as we see in the MORE command, when we type <space>, b, q etc...) i know that for typing some text that has to be read it's used the structure:... (0 Replies)
Discussion started by: Cellofan
0 Replies
4. Ubuntu
My PC (Esprimo, 3 yeas old) has one hard drive having 2 partitions C: (80 GB NTFS, XP) and D: (120 GB NTFS, empty) and and a 200 MB area that yet is not-partitioned.
I would like to try Ubuntu and to install Ubuntu on the not-partitioned area . The idea is to have the possibility to run... (7 Replies)
Discussion started by: C.Weidemann
7 Replies
5. UNIX and Linux Applications
I have set a mysql file to excute everyday morning to generate a html file displayng 2 tables from the database. Sometime they cannot be shown, and it shows the tables are not existed. I have not drop any table, and those 2 tables are not used by any other excution. Anybody know what is happening?... (0 Replies)
Discussion started by: c203040
0 Replies
6. Linux
Hi all,
I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies
7. Linux
Dear all, I lost my CentOS 6.4, Systems default bar/panel where we navigate our system for the Applications, Places & System, Is there anyone who can help me please??? (1 Reply)
Discussion started by: saqlain.bashir
1 Replies
8. Red Hat
Hello,
1 ) Fdisk -l # Displays all the disk with partition table information
My Query )
A ) How can i make one disk ex: /dev/sdd not visible in fdisk -l output ?
B) From where fdisk -l collect and display the information ? (8 Replies)
Discussion started by: saurabh84g
8 Replies
9. Shell Programming and Scripting
#!/bin/sh
PATH_1=$PATH
echo "PATH_1 is " $PATH_1
function user_func (){
whoami
export PATH=$PATH_1:/usr/local/bin
echo "PATH is" $PATH
exit
}
export -f user_func
su -m hadoop -c 'user_func'
from out put, PATH is not set with PATH_1 append ( it's not another user to run the... (5 Replies)
Discussion started by: yanglei_fage
5 Replies
LEARN ABOUT BSD
xfs_freeze
xfs_freeze(8) System Manager's Manual xfs_freeze(8)
NAME
xfs_freeze - suspend access to an XFS filesystem
SYNOPSIS
xfs_freeze -f | -u mount-point
DESCRIPTION
xfs_freeze suspends and resumes access to an XFS filesystem (see xfs(5)).
xfs_freeze halts new access to the filesystem and creates a stable image on disk. xfs_freeze is intended to be used with volume managers
and hardware RAID devices that support the creation of snapshots.
The mount-point argument is the pathname of the directory where the filesystem is mounted. The filesystem must be mounted to be frozen
(see mount(8)).
The -f flag requests the specified XFS filesystem to be frozen from new modifications. When this is selected, all ongoing transactions in
the filesystem are allowed to complete, new write system calls are halted, other calls which modify the filesystem are halted, and all
dirty data, metadata, and log information are written to disk. Any process attempting to write to the frozen filesystem will block waiting
for the filesystem to be unfrozen.
Note that even after freezing, the on-disk filesystem can contain information on files that are still in the process of unlinking. These
files will not be unlinked until the filesystem is unfrozen or a clean mount of the snapshot is complete.
The -u flag is used to un-freeze the filesystem and allow operations to continue. Any filesystem modifications that were blocked by the
freeze are unblocked and allowed to complete.
One of -f or -u must be supplied to xfs_freeze.
NOTES
A copy of a frozen XFS filesystem will usually have the same universally unique identifier (UUID) as the original, and thus may be pre-
vented from being mounted. The XFS nouuid mount option can be used to circumvent this issue.
In Linux kernel version 2.6.29, the interface which XFS uses to freeze and unfreeze was elevated to the VFS, so that this tool can now be
used on many other Linux filesystems.
SEE ALSO
xfs(5), lvm(8), mount(8).
xfs_freeze(8)