GRUB-FSTEST(3) Library Functions Manual GRUB-FSTEST(3)NAME
grub-fstest -- Debug tool for GRUB's filesystem driver.
SYNOPSIS
grub-fstest [-c | --diskcount=NUM] [-C | --crypto]
[-d | --debug=STRING] [-K | --zfs-key=FILE|prompt]
[-n | --length=NUM] [-r | --root=DEVICE_NAME]
[-s | --skip=NUM] [-u | --uncompress] [-v | --verbose]
IMAGE_PATH <blocklist FILE | cat FILE |
cmp FILE LOCAL | cp FILE LOCAL | crc FILE |
hex FILE | ls PATH | xnu_uuid DEVICE>
DESCRIPTION
grub-fstest is a tool for testing GRUB's filesystem drivers. You should not normally need to run this program.
OPTIONS --diskcount=NUM
Specify the number of input files.
--crypto
Mount cryptographic devices.
--debug=STRING
Set debug environment variable.
--zfs-key=FILE|prompt
Load ZFS cryptographic key.
--length=NUM
Handle NUM bytes in output file.
--root=DEVICE_NAME
Set root device.
--skip=NUM
Skip NUM bytes from output file.
--uncompress
Uncompress data.
--verbose
Print verbose messages.
COMMANDS
blocklist FILE
Display block list of FILE.
cat FILE
Display FILE on standard output.
cmp FILE LOCAL
Compare FILE with local file LOCAL.
cp FILE LOCAL
Copy FILE to local file LOCAL.
crc FILE
Display the CRC-32 checksum of FILE.
hex FILE
Display contents of FILE in hexidecimal.
ls PATH
List files at PATH.
xnu_uuid DEVICE
Display the XNU UUID of DEVICE.
SEE ALSO
info grub
Wed Feb 26 2014 GRUB-FSTEST(3)
Check Out this Related Man Page
GRUB-SETUP(8) System Administration Utilities GRUB-SETUP(8)NAME
grub-setup - set up a device to boot using GRUB
SYNOPSIS
grub-setup [OPTION...] DEVICE
DESCRIPTION
Set up images to boot from DEVICE.
You should not normally run this program directly. Use grub-install instead.
-a, --allow-floppy
Make the drive also bootable as floppy (default for fdX devices). May break on some BIOSes.
-b, --boot-image=FILE
Use FILE as the boot image [default=boot.img]
-c, --core-image=FILE
Use FILE as the core image [default=core.img]
-d, --directory=DIR
Use GRUB files in the directory DIR [default=/boot/grub]
-f, --force
Install even if problems are detected
-m, --device-map=FILE
Use FILE as the device map [default=/boot/grub/device.map]
-r, --root-device=DEV
Use DEV as the root device [default=guessed]
-s, --skip-fs-probe
Do not probe for filesystems in DEVICE
-v, --verbose
Print verbose messages.
-?, --help
give this help list
--usage
give a short usage message
-V, --version
print program version
Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.
DEVICE must be an OS device (e.g. /dev/sda).
REPORTING BUGS
Report bugs to <bug-grub@gnu.org>.
SEE ALSO grub-install(8), grub-mkimage(1), grub-mkrescue(1)
The full documentation for grub-setup is maintained as a Texinfo manual. If the info and grub-setup programs are properly installed at
your site, the command
info grub-setup
should give you access to the complete manual.
grub-setup (GRUB) 1.99-12ubuntu5 October 2011 GRUB-SETUP(8)
Hi,
Can anyone please please, help me disable LOCAL value safe_mode.
In the php.ini safe_mode = Off
When I launch, a phpinfo page, LOCAL value remains on and MASTER remains off.
I have searched elsewhere and have tried to add a line on code in the httpd.conf , restart Apache sitll no... (5 Replies)
Hi Friends,
I have 2 files A and B . I want to compare the 3rd line of file A and B .
(I dont want to compare the 2 files, using diff or cmp). I just want to know whether 3rd line of A matches the 3 rd line of B. Can anybody share their knowledge on the same?
Thanks ,
Vijaya (12 Replies)
Hi,
Some part of output:
================
$ hwmgr show scsi
SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST
HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID PATH
-------------------------------------------------------------------------
68: ... (10 Replies)
Well I got ZFS going almost in version one and didn't have the money to raid it or mirror it. I run off of 7 - 750GB-1TB USB drives and it's run great for over a year. Recently I needed to power off and move some stuff around and when I powered it back on I got this:... (3 Replies)
Hi,
I need to increase the size of a zfs filesystem, which lies on two mirrored san luns
root@xxxx1:/tttt/DB-data-->zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
xxxx-data-zpool 3.97G 2.97G 1.00G 74% ONLINE /
xxxx-logs-zpool ... (7 Replies)
Suppose u have two input files FILE A and FILE B
FILE A
AACD
ABBD
ACBC
FILE B
s/ A B C D E
A 1 -2 3 4 2
B 3 2 -1 2 1
C 2 3 1 2 3
D 3 4 -3 2 2
E 1 3 4 2 3
So in FILE A we have calculated frequency... (3 Replies)
Hi,
echo $i
until ||
do
read NUM
if && ; then
printf "$FBOLD\nInvalid number, please enter valid backup number: $FREG"
fi
done
Getting below error :
./import_location.sh: line 234: [: : integer expression expected
./import_location.sh: line 234: [: :... (5 Replies)
HI All,
The below shown script whcih is executing wrongly
Actually i have three inputs from user
FILE NAME :INPUTS
CONFRIM FILE NAME :Y or N
CONFIRM PATH :/ or .
by depending on the user input the script have to execute the find command in the root path or in the home... (3 Replies)
If i have a macro called NUM which is "8" (string) for example
How do I make it into say "7", well i just want to lower it by one, also there will never be the case where its "0" and i have to decrease it.
there is no guarantee how many digits NUM could have, but will always be an integer.
How... (6 Replies)
Please help me.
1)I have a file "test.txt" with below content
1546
2346
8765
2380
2)I have a variable called "NUM".
number variable is assigned with 5674
NUM=5674
3) How to subtract the first record with NUM variable?
I tried below but its below awk command but its showing 0 as... (3 Replies)
Hi all,
A customer has a very active ZFS partitionon their production system, I need to get a copy of the data under one directory at a specific point in time.
Is it possible to do this with the ZFS snapshot/clone tools, (and what commands should be used to capture the info I require for... (6 Replies)
Compare two files and remove duplicates and display the output of "FILE-A"
For instance
FILE-A
aaaa
hhhdh
hddscs
sdcsdcs
csdcsd
FILE-B
hhhdh
bbdbds
aaaa
sdcsdcs
csdcsd (3 Replies)
Hi,
We're trying out a SAN migration from HP EVA to EMC VMAX, and run into a bit of an issue with powerpath and zfs.
The method we're currently using to migrate is to export the HP EVA luns from our sun server, replicate using SAN based method, and then present the new luns to our Sun server... (7 Replies)
does ldmp2v supports vxfs and zfs file systems ?
I have some servers where I need to do P2V with ldmp2v.
few of them have zfs and vxfs file systems for root. (3 Replies)
Hello,
Need to ask the question regarding extending the zfs storage file system.
currently after using the command, df -kh
u01-data-pool/data 600G 552 48G 93% /data
/data are only 48 gb remaining and it has occupied 93% for total storage.
zpool u01-data-pool has more then 200 gb... (14 Replies)